Skip to content

Commit

Permalink
a few tests work on numpy 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp committed Apr 19, 2024
1 parent f266c16 commit 6b351cb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/compute/sympy/test_scale.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
) >= packaging.version.Version("2.0.0rc1")


@pytest.mark.xfail(numpy_2, reason="mpmath does not support numpy 2.0 yet")
def test_planar_posfactor():
vec = vector.VectorSympy2D(
azimuthal=vector.backends.sympy.AzimuthalSympyXY(x, y),
Expand All @@ -43,7 +42,6 @@ def test_planar_posfactor():
assert out.y.subs(values).evalf() == pytest.approx(2 * 1.75)


@pytest.mark.xfail(numpy_2, reason="mpmath does not support numpy 2.0 yet")
def test_planar_negfactor():
vec = vector.VectorSympy2D(
azimuthal=vector.backends.sympy.AzimuthalSympyXY(x, y),
Expand Down

0 comments on commit 6b351cb

Please sign in to comment.