diff options
author | David Cournapeau <cournape@gmail.com> | 2008-12-30 06:38:29 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-12-30 06:38:29 +0000 |
commit | a41f1aefef662be0645c61da5bf7849d0c68194c (patch) | |
tree | 2c9fabf8aa3d1036a74b48c0493c7a8a496c6df1 /numpy | |
parent | d7b5be19940936c10ed1ed45879d6aef56cb55a6 (diff) | |
download | numpy-a41f1aefef662be0645c61da5bf7849d0c68194c.tar.gz |
Fix complex reference.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/tests/test_print.py | 4 |
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) |