Skip to content

Commit

Permalink
Skip numpy tests on Windows with Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Dec 19, 2024
1 parent a09771d commit 633b6ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/nightly-tests/test-install/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 633b6ae

Please sign in to comment.