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
