Skip to content

Commit 487573e

Browse files
committed
fixup pypy check
1 parent 0742f6f commit 487573e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_errors.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,8 @@ def test_hide_input_in_json() -> None:
10781078

10791079

10801080
@pytest.mark.skipif(
1081-
sys.version_info < (3, 9) and sys.implementation == 'pypy', reason='PyPy before 3.9 cannot pickle this correctly'
1081+
sys.version_info < (3, 9) and sys.implementation.name == 'pypy',
1082+
reason='PyPy before 3.9 cannot pickle this correctly',
10821083
)
10831084
def test_validation_error_pickle() -> None:
10841085
s = SchemaValidator({'type': 'int'})

0 commit comments

Comments
 (0)