diff --git a/tests/test_checkers.py b/tests/test_checkers.py index b8e01c6..29b1b01 100644 --- a/tests/test_checkers.py +++ b/tests/test_checkers.py @@ -81,6 +81,9 @@ P = ParamSpec("P") +@pytest.mark.skipif( + sys.version_info >= (3, 13), reason="AnyStr is deprecated on Python 3.13" +) class TestAnyStr: @pytest.mark.parametrize( "value", [pytest.param("bar", id="str"), pytest.param(b"bar", id="bytes")]