From 633b6aeaec4acf3c212da9798aaaea442714c136 Mon Sep 17 00:00:00 2001 From: Ben Webb Date: Wed, 18 Dec 2024 16:30:22 -0800 Subject: [PATCH] Skip numpy tests on Windows with Python 3.12 --- tools/nightly-tests/test-install/test.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/nightly-tests/test-install/test.py b/tools/nightly-tests/test-install/test.py index eeb708ce57..2daeacd624 100644 --- a/tools/nightly-tests/test-install/test.py +++ b/tools/nightly-tests/test-install/test.py @@ -102,6 +102,11 @@ def test_get_numpy(self): p1.add_attribute(k, 1) p2.add_attribute(k, 2) + # Our WINE test environment does not currently work with numpy 1.26.4 + # and Python 3.12 + if sys.platform == 'win32' and sys.version_info[:2] == (3, 12): + self.skipTest("environment does not support NumPy and Python 3.12") + if IMP.IMP_KERNEL_HAS_NUMPY: n = m1.get_ints_numpy(k) self.assertIs(n.base, m1)