diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-10-19 00:26:05 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-10-19 00:26:05 +0000 |
commit | bafa719696243a03bf0f1f3b2f7bf0c6bb0f26ed (patch) | |
tree | 937bce2d623e550e7b3a39e749fb6b883e47dfdd | |
parent | 448f3851e99f4667faaae813bd0cd6df2b666c29 (diff) | |
download | numpy-bafa719696243a03bf0f1f3b2f7bf0c6bb0f26ed.tar.gz |
Fix test.
-rw-r--r-- | numpy/core/tests/test_regression.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/tests/test_regression.py b/numpy/core/tests/test_regression.py index 02be4e60a..9dfc31183 100644 --- a/numpy/core/tests/test_regression.py +++ b/numpy/core/tests/test_regression.py @@ -215,8 +215,8 @@ class test_regression(NumpyTestCase): def check_longfloat_repr(self,level=rlevel): """Ticket #112""" - a = N.exp(N.array([1000]),dtype=N.longfloat) - assert(str(a[0]) in str(a)) + a = N.exp(N.array([1000],dtype=N.longfloat)) + assert(str(a)[1:9] == str(a[0])[:8]) def check_argmax(self,level=rlevel): """Ticket #119""" |