Skip to content

Commit

Permalink
TST: core: mark test_ldexp_overflow as known failure on Python < 2.6 …
Browse files Browse the repository at this point in the history
…on Windows, because of apparently broken C runtime in the python.org binaries

(cherry picked from commit 3747ab5)
  • Loading branch information
pv committed Oct 19, 2010
1 parent 082956b commit c6504f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions numpy/core/tests/test_umath.py
Expand Up @@ -405,6 +405,9 @@ def test_ldexp(self):
self._check_ldexp('i')
self._check_ldexp('l')

@dec.knownfailureif(sys.platform == 'win32' and sys.version_info < (2, 6),
"python.org < 2.6 binaries have broken ldexp in the "
"C runtime")
def test_ldexp_overflow(self):
imax = np.iinfo(np.dtype('l')).max
imin = np.iinfo(np.dtype('l')).min
Expand Down

0 comments on commit c6504f5

Please sign in to comment.