summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2021-10-23 10:02:31 -0600
committerCharles Harris <charlesr.harris@gmail.com>2021-10-23 12:45:30 -0600
commitb05defd1232370a69bce383b3c9cbd6a2a91e76d (patch)
treef228d555ce172fc7b6656c5358530e0b6f798119
parent6409a721c17aae94cfd55ccbcf26a95494dd1cf8 (diff)
downloadnumpy-b05defd1232370a69bce383b3c9cbd6a2a91e76d.tar.gz
TST: Disable test_partial_iteration_cleanup on 32 bit Windows.
The test_partial_iteration_cleanup test fails often with Python 3.9 on windows and it is annoying to always need to check if that is the problem so that it may be ignored when tests fail on CI.
-rw-r--r--numpy/core/tests/test_nditer.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/tests/test_nditer.py b/numpy/core/tests/test_nditer.py
index fbf6da0e1..79f44ef80 100644
--- a/numpy/core/tests/test_nditer.py
+++ b/numpy/core/tests/test_nditer.py
@@ -3128,6 +3128,8 @@ def test_warn_noclose():
assert len(sup.log) == 1
+@pytest.mark.skipif(sys.version_info[:2] == (3, 9) and sys.platform == "win32",
+ reason="Errors with Python 3.9 on Windows")
@pytest.mark.skipif(not HAS_REFCOUNT, reason="Python lacks refcounts")
@pytest.mark.parametrize(["in_dtype", "buf_dtype"],
[("i", "O"), ("O", "i"), # most simple cases