Skip to content

Commit fc89fa3

Browse files
authored
Merge pull request #48 from altendky/test_pypy3
Test pypy3
2 parents 6b30cd2 + bd31d31 commit fc89fa3

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ jobs:
5454
- python: '3.8'
5555
env:
5656
- TOXENV=py38,report,codecov
57+
- python: 'pypy3'
58+
env:
59+
- TOXENV=pypy3,report,codecov
5760
- python: '3.8'
5861
env:
5962
- TOXENV=doc

tests/test_make.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,11 @@ class B:
396396
assert_dump_load(schema=schema, loaded=loaded, dumped=dumped)
397397

398398

399+
@pytest.mark.xfail(
400+
condition=sys.implementation.name == "pypy" and sys.pypy_version_info < (7, 2),
401+
reason="Forward references and string annotations are broken in PyPy3 < 7.2",
402+
strict=True,
403+
)
399404
def test_forward_reference_module_scope():
400405
"""Run the forward reference test at global scope."""
401406

0 commit comments

Comments
 (0)