Skip to content

Commit 074dfd6

Browse files
committed
test against pypy3
1 parent a068e0d commit 074dfd6

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
@@ -15,6 +15,9 @@ matrix:
1515
sudo: required
1616
env:
1717
- TOXENV=py37,report,codecov
18+
- python: 'pypy3'
19+
env:
20+
- TOXENV=pypy3,report,codecov
1821
- python: '3.7'
1922
dist: xenial
2023
sudo: required

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+
# where 3.6.9 corresponds to PyPy3 release 7.2.0
400+
@pytest.mark.skipif(
401+
condition=sys.implementation.name == "pypy" and sys.version_info < (3, 6, 9),
402+
reason="Forward references and string annotations are broken.",
403+
)
399404
def test_forward_reference_module_scope():
400405
"""Run the forward reference test at global scope."""
401406

0 commit comments

Comments
 (0)