summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-12-30 06:38:29 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-12-30 06:38:29 +0000
commita41f1aefef662be0645c61da5bf7849d0c68194c (patch)
tree2c9fabf8aa3d1036a74b48c0493c7a8a496c6df1 /numpy
parentd7b5be19940936c10ed1ed45879d6aef56cb55a6 (diff)
downloadnumpy-a41f1aefef662be0645c61da5bf7849d0c68194c.tar.gz
Fix complex reference.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/tests/test_print.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/tests/test_print.py b/numpy/core/tests/test_print.py
index 5802c2346..fedca27f1 100644
--- a/numpy/core/tests/test_print.py
+++ b/numpy/core/tests/test_print.py
@@ -67,9 +67,9 @@ def check_complex_type(tp):
else:
if sys.platform == 'win32' and sys.version_info[0] <= 2 and \
sys.version_info[1] <= 5:
- ref = '1e+010'
+ ref = '(1e+010+0j)'
else:
- ref = '1e+10'
+ ref = '(1e+10+0j)'
assert_equal(str(tp(1e10)), ref,
err_msg='Failed str formatting for type %s' % tp)