Skip to content

Commit

Permalink
Fix numpy _whichmodule (#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
ogrisel authored Jan 14, 2025
1 parent 6220b0c commit caf55df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/cloudpickle_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1527,7 +1527,8 @@ def test_importing_multiprocessing_does_not_impact_whichmodule(self):
self.assertEqual(proc.wait(), 0)
assert out.strip() in (
b"numpy.core._multiarray_umath", # numpy 1
b"numpy._core._multiarray_umath", # numpy 2
b"numpy._core._multiarray_umath", # older numpy 2
b"numpy", # more recent numpy 2
)

def test_unrelated_faulty_module(self):
Expand Down

0 comments on commit caf55df

Please sign in to comment.