[yt-svn] commit/yt: 2 new changesets

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


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/abe546617eb0/
Changeset:   abe546617eb0
Branch:      yt
User:        ngoldbaum
Date:        2015-08-26 18:06:00+00:00
Summary:     Use truediv instead of div in units unit tests for py3 compat
Affected #:  1 file

diff -r 580e8d4ccc0ecd2f0d8198307cf0d074b0b735cb -r abe546617eb0bc98fb3b4c3a2315de3bcb83fb14 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)


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