diff --git a/tests/test_identity_gate.py b/tests/test_identity_gate.py index 3f8f10d4..3791fa7d 100644 --- a/tests/test_identity_gate.py +++ b/tests/test_identity_gate.py @@ -87,7 +87,7 @@ class TestIdentityScore: assert isinstance(axis_id, str) def test_legacy_constructor_emits_deprecation_warning(self): - with pytest.deprecated_call(match="IdentityCheck\(manifold=\.\.\.\) is deprecated"): + with pytest.deprecated_call(match=r"IdentityCheck\(manifold=\.\.\.\) is deprecated"): check = IdentityCheck(manifold=_make_manifold()) score = check.check(_make_trajectory()) assert isinstance(score, IdentityScore)