Skip to content

Commit

Permalink
Fix filtered warning message.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Zickel committed Jul 27, 2024
1 parent d3d2936 commit f4f6559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ops/einsum/test_adjoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_marginal(equation):
assert_equal(expected, actual)


@pytest.mark.filterwarnings("ignore:.*reduce_op is deprecated")
@pytest.mark.filterwarnings("ignore:.*reduce_op` is deprecated")
def test_require_backward_memory_leak():
tensors = [o for o in gc.get_objects() if torch.is_tensor(o)]
num_global_tensors = len(tensors)
Expand Down

0 comments on commit f4f6559

Please sign in to comment.