Skip to content

Commit 58d61cd

Browse files
committed
this doesn't memory error on pypy
1 parent 79c1639 commit 58d61cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hypothesis-python/tests/cover/test_constants_ast.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import pytest
1919

2020
from hypothesis import given, strategies as st
21+
from hypothesis.internal.compat import PYPY
2122
from hypothesis.internal.constants_ast import (
2223
ConstantVisitor,
2324
_is_local_module_file,
@@ -193,6 +194,7 @@ def test_local_modules_ignores_test_modules(path):
193194
assert not _is_local_module_file(path)
194195

195196

197+
@pytest.mark.skipif(PYPY, reason="no memory error on pypy")
196198
def test_ignores_ast_parse_error(tmp_path):
197199
p = tmp_path / "errors_on_parse.py"
198200
p.write_text("[1, " * 200 + "]" * 200, encoding="utf-8")

0 commit comments

Comments
 (0)