Skip to content

Commit

Permalink
fix numpy 2 version
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp committed Apr 19, 2024
1 parent 1642243 commit f266c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/compute/sympy/test_scale.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# mpmath does not support numpy 2.0 yet
numpy_2 = packaging.version.Version(
importlib.metadata.version("numpy")
) >= packaging.version.Version("2.0.0")
) >= packaging.version.Version("2.0.0rc1")


@pytest.mark.xfail(numpy_2, reason="mpmath does not support numpy 2.0 yet")
Expand Down

0 comments on commit f266c16

Please sign in to comment.