diff --git a/src/jsonyx/test/test_load_query_value.py b/src/jsonyx/test/test_load_query_value.py index 2d902ed..2ee9156 100644 --- a/src/jsonyx/test/test_load_query_value.py +++ b/src/jsonyx/test/test_load_query_value.py @@ -64,7 +64,7 @@ def test_int(s: str) -> None: @pytest.mark.skipif( - hasattr(sys, "get_int_max_str_digits"), + not hasattr(sys, "get_int_max_str_digits"), reason="requires integer string conversion length limit", ) def test_too_big_int() -> None: diff --git a/src/jsonyx/test/test_loads.py b/src/jsonyx/test/test_loads.py index 022414e..d9ca197 100644 --- a/src/jsonyx/test/test_loads.py +++ b/src/jsonyx/test/test_loads.py @@ -106,7 +106,7 @@ def test_int(json: ModuleType, s: str) -> None: @pytest.mark.skipif( - hasattr(sys, "get_int_max_str_digits"), + not hasattr(sys, "get_int_max_str_digits"), reason="requires integer string conversion length limit", ) def test_too_big_int(json: ModuleType) -> None: