Permalink
Browse files

Fix test.

  • Loading branch information...
1 parent 448f385 commit bafa719696243a03bf0f1f3b2f7bf0c6bb0f26ed Travis Oliphant committed Oct 19, 2006
Showing with 2 additions and 2 deletions.
  1. +2 −2 numpy/core/tests/test_regression.py
@@ -215,8 +215,8 @@ def check_arange_endian(self,level=rlevel):
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"""

0 comments on commit bafa719

Please sign in to comment.