Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix test.

  • Loading branch information...
commit bafa719696243a03bf0f1f3b2f7bf0c6bb0f26ed 1 parent 448f385
Travis Oliphant authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 numpy/core/tests/test_regression.py
View
4 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"""
Please sign in to comment.
Something went wrong with that request. Please try again.