Skip to content

Commit 4c647c6

Browse files
committed
correct test_forward_reference_module_scope to xfail on older pypy
1 parent ea21508 commit 4c647c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_make.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,9 +396,10 @@ class B:
396396
assert_dump_load(schema=schema, loaded=loaded, dumped=dumped)
397397

398398

399-
@pytest.mark.skipif(
399+
@pytest.mark.xfail(
400400
condition=sys.implementation.name == "pypy" and sys.pypy_version_info < (7, 2),
401401
reason="Forward references and string annotations are broken.",
402+
strict=True,
402403
)
403404
def test_forward_reference_module_scope():
404405
"""Run the forward reference test at global scope."""

0 commit comments

Comments
 (0)