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

Skip to content

Commit 3747ab5

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
1 parent 3c2af9e commit 3747ab5

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
@@ -397,6 +397,9 @@ def test_ldexp(self):
397397
self._check_ldexp('i')
398398
self._check_ldexp('l')
399399

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

0 commit comments

Comments
 (0)