Skip to content

Commit

Permalink
Mark new capture tests as new-opmath-only (#5776)
Browse files Browse the repository at this point in the history
  • Loading branch information
astralcai authored May 31, 2024
1 parent 544b1de commit bb681d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/capture/test_operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def test_abstract_operator():
# arithmetic dunders integration tested


@pytest.mark.usefixtures("new_opmath_only")
def test_operators_constructed_when_plxpr_enabled():
"""Test that normal operators can still be constructed when plxpr is enabled."""

Expand Down Expand Up @@ -363,6 +364,7 @@ def qfunc():

assert isinstance(eqn.outvars[0].aval, AbstractOperator)

@pytest.mark.usefixtures("new_opmath_only")
def test_mul(self):
"""Test that the scalar multiplication dunder works."""

Expand Down

0 comments on commit bb681d3

Please sign in to comment.