Skip to content

Commit bb681d3

Browse files
authored
Mark new capture tests as new-opmath-only (#5776)
1 parent 544b1de commit bb681d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/capture/test_operators.py

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def test_abstract_operator():
5454
# arithmetic dunders integration tested
5555

5656

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

@@ -363,6 +364,7 @@ def qfunc():
363364

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

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

0 commit comments

Comments
 (0)