summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2010-10-20 00:07:26 +0200
committerPauli Virtanen <pav@iki.fi>2010-10-20 00:09:21 +0200
commit3747ab5ec181368dcfa57a5436e40e0ec1927641 (patch)
tree2e23e1f0f777a7aa1b1547a50a77ec2e0b88e1f2
parent3c2af9e9bff5ad9fdd394f43e14a43fdc6bf6d50 (diff)
downloadnumpy-3747ab5ec181368dcfa57a5436e40e0ec1927641.tar.gz
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
-rw-r--r--numpy/core/tests/test_umath.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/core/tests/test_umath.py b/numpy/core/tests/test_umath.py
index 1245030a4..3f2601150 100644
--- a/numpy/core/tests/test_umath.py
+++ b/numpy/core/tests/test_umath.py
@@ -397,6 +397,9 @@ class TestLdexp(TestCase):
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