Skip to content

Commit caf55df

Browse files
authored
Fix numpy _whichmodule (#547)
1 parent 6220b0c commit caf55df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/cloudpickle_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,8 @@ def test_importing_multiprocessing_does_not_impact_whichmodule(self):
15271527
self.assertEqual(proc.wait(), 0)
15281528
assert out.strip() in (
15291529
b"numpy.core._multiarray_umath", # numpy 1
1530-
b"numpy._core._multiarray_umath", # numpy 2
1530+
b"numpy._core._multiarray_umath", # older numpy 2
1531+
b"numpy", # more recent numpy 2
15311532
)
15321533

15331534
def test_unrelated_faulty_module(self):

0 commit comments

Comments
 (0)