[yt-svn] commit/yt: chummels: Merged in ngoldbaum/yt (pull request #1724)

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Aug 27 09:25:12 PDT 2015


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/967f1ce10f1d/
Changeset:   967f1ce10f1d
Branch:      yt
User:        chummels
Date:        2015-08-27 16:24:52+00:00
Summary:     Merged in ngoldbaum/yt (pull request #1724)

Use truediv instead of div in units tests for py3 compat
Affected #:  1 file

diff -r 3d8318a8dda350f558140ac6247ccd2c5114c597 -r 967f1ce10f1dd7ed14c96078a5d1b2dd278819d8 yt/units/tests/test_units.py
--- a/yt/units/tests/test_units.py
+++ b/yt/units/tests/test_units.py
@@ -449,4 +449,4 @@
     u2 = Unit('degF')
 
     assert_raises(InvalidUnitOperation, operator.mul, u1, u2)
-    assert_raises(InvalidUnitOperation, operator.div, u1, u2)
+    assert_raises(InvalidUnitOperation, operator.truediv, u1, u2)

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the yt-svn mailing list