[Numpy-svn] r4719 - branches/maskedarray/numpy/ma/tests
numpy-svn at scipy.org
numpy-svn at scipy.org
Thu Jan 10 14:09:51 EST 2008
Author: stefan
Date: 2008-01-10 13:09:35 -0600 (Thu, 10 Jan 2008)
New Revision: 4719
Modified:
branches/maskedarray/numpy/ma/tests/test_core.py
Log:
Fix inplace test.
Modified: branches/maskedarray/numpy/ma/tests/test_core.py
===================================================================
--- branches/maskedarray/numpy/ma/tests/test_core.py 2008-01-10 15:52:25 UTC (rev 4718)
+++ branches/maskedarray/numpy/ma/tests/test_core.py 2008-01-10 19:09:35 UTC (rev 4719)
@@ -35,9 +35,9 @@
class TestNoMask(NumpyTestCase):
def test_no_inplace(self):
x = nomask
- def iadd(x):
- x += 1
- self.failUnlessRaises(ValueError,iadd,x)
+ y = x
+ x += 1
+ assert x != y
def test_no_copy(self):
x = nomask
More information about the Numpy-svn
mailing list