summaryrefslogtreecommitdiff
path: root/numpy/ma
diff options
context:
space:
mode:
authorMark Wiebe <mwiebe@enthought.com>2011-06-29 18:07:27 -0500
committerCharles Harris <charlesr.harris@gmail.com>2011-07-06 16:24:13 -0600
commit3d9db9b960cbc04a44458ea36f056a8e87196a04 (patch)
tree9d2268c1ef99bc4585bcbd364cffa6eb12f39121 /numpy/ma
parent5fdb6badba4ad55240235b06d66c28f57e60a735 (diff)
downloadnumpy-3d9db9b960cbc04a44458ea36f056a8e87196a04.tar.gz
TST: ma: Feedback from Derek about Python 3 failures in ma tests
Diffstat (limited to 'numpy/ma')
-rw-r--r--numpy/ma/tests/test_core.py4
-rw-r--r--numpy/ma/tests/test_old_ma.py4
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