File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212from qs_codec .models .key_path_node import KeyPathNode
1313from qs_codec .models .weak_wrapper import WeakWrapper , _proxy_cache
1414
15- IS_PYPY_38 : bool = sys .implementation .name == "pypy" and sys . version_info [: 2 ] == ( 3 , 8 )
15+ IS_PYPY : bool = sys .implementation .name == "pypy"
1616THREAD_COUNT : int = 8
17- ITERATION_COUNT : int = 100 if IS_PYPY_38 else 250
18- HEAVY_ENCODE_ITERATION_COUNT : int = 25 if IS_PYPY_38 else ITERATION_COUNT
19- JOIN_TIMEOUT_SECONDS : float = 60.0 if IS_PYPY_38 else 30.0
17+ ITERATION_COUNT : int = 100 if IS_PYPY else 250
18+ HEAVY_ENCODE_ITERATION_COUNT : int = 25 if IS_PYPY else ITERATION_COUNT
19+ JOIN_TIMEOUT_SECONDS : float = 60.0 if IS_PYPY else 30.0
2020
2121
2222def _run_concurrently (
Original file line number Diff line number Diff line change @@ -76,6 +76,9 @@ commands =
7676
7777[testenv:pypy3.8]
7878basepython = pypy3.8
79+ commands =
80+ # PyPy 7.3.11 can segfault during pytest assertion rewriting before tests run.
81+ pytest --assert =plain -v --cov =src/qs_codec --cov-report =xml
7982
8083[testenv:pypy3.9]
8184basepython = pypy3.9
You can’t perform that action at this time.
0 commit comments