Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c6504f5

Browse files
committed
TST: core: mark test_ldexp_overflow as known failure on Python < 2.6 on Windows, because of apparently broken C runtime in the python.org binaries
(cherry picked from commit 3747ab5)
1 parent 082956b commit c6504f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

numpy/core/tests/test_umath.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,9 @@ def test_ldexp(self):
405405
self._check_ldexp('i')
406406
self._check_ldexp('l')
407407

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

0 commit comments

Comments
 (0)