summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2008-04-11 06:20:03 +0000
committerCharles Harris <charlesr.harris@gmail.com>2008-04-11 06:20:03 +0000
commit71e14f58518590b6a7bb580331ff9cf412527db2 (patch)
treef18b42a45ad92f033f14bc020c8abb3af2d21f50 /numpy
parent82e196a4e3c4c74b7d0915caa4d55e3c0556e11a (diff)
downloadnumpy-71e14f58518590b6a7bb580331ff9cf412527db2.tar.gz
More debugging.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/tests/test_regression.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/tests/test_regression.py b/numpy/core/tests/test_regression.py
index a5f75447c..3d50477cb 100644
--- a/numpy/core/tests/test_regression.py
+++ b/numpy/core/tests/test_regression.py
@@ -750,7 +750,8 @@ class TestRegression(NumpyTestCase):
def check_object_casting_debug(self, level=rlevel):
def rs():
- x = 1.0 | 2.0
+ x = 1.0
+ x |= 1.0
rs()
self.failUnlessRaises(TypeError,rs)