Files
MINGW-packages/mingw-w64-python-numpy/0004-fix-testsuite.patch
2021-02-11 23:00:41 +05:30

14 lines
646 B
Diff

diff --git a/numpy/core/tests/test_multiarray.py b/numpy/core/tests/test_multiarray.py
index bd8c51a..47ac291 100644
--- a/numpy/core/tests/test_multiarray.py
+++ b/numpy/core/tests/test_multiarray.py
@@ -5042,7 +5042,7 @@ class TestIO:
"""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