fix numpy testsuite

This commit is contained in:
U-Laptop\rute
2014-09-22 23:31:01 +02:00
parent cbb277ab9d
commit a51fa04ade
2 changed files with 16 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
--- numpy-1.9.0/numpy/core/tests/test_multiarray.py 2014-09-07 10:57:48.000000000 +0200
+++ /mingw64/lib/python3.4/site-packages/numpy/core/tests/test_multiarray.py 2014-09-22 20:42:55.177362800 +0200
@@ -2691,7 +2691,7 @@
"""Test workarounds for 32-bit limited fwrite, fseek, and ftell
calls in windows. These normally would hang doing something like this.
See http://projects.scipy.org/numpy/ticket/1660"""
- if sys.platform != 'win32':
+ if sys.platform != 'win32' or "MSYSTEM" in os.environ:
return
try:
# before workarounds, only up to 2**32-1 worked