diff options
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/ma/tests/test_core.py | 4 | ||||
-rw-r--r-- | numpy/ma/tests/test_old_ma.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/numpy/ma/tests/test_core.py b/numpy/ma/tests/test_core.py index b4ec3e540..d82f3bd81 100644 --- a/numpy/ma/tests/test_core.py +++ b/numpy/ma/tests/test_core.py @@ -1700,9 +1700,9 @@ class TestMaskedArrayInPlaceArithmetics(TestCase): x = arange(10) * 2 xm = arange(10) * 2 xm[2] = masked - x /= 2 + x //= 2 assert_equal(x, y) - xm /= 2 + xm //= 2 assert_equal(xm, y) def test_inplace_division_scalar_float(self): diff --git a/numpy/ma/tests/test_old_ma.py b/numpy/ma/tests/test_old_ma.py index 0f58741fa..656f0b318 100644 --- a/numpy/ma/tests/test_old_ma.py +++ b/numpy/ma/tests/test_old_ma.py @@ -486,9 +486,9 @@ class TestMa(TestCase): x = arange(10) * 2 xm = arange(10) xm[2] = masked - x /= 2 + x //= 2 assert_(eq(x, y)) - xm /= 2 + xm //= 2 assert_(eq(x, y)) x = arange(10) * 1.0 |