Open mgorny opened 6 months ago
Oh yeah, I didn't know how to make the test stable under PyPy so I just skipped it in CI on that branch. I think it must be related to PyPy's unpredictable garbage collector.. Thanks for filing this, anyway!
I can reproduce with main (at f156ccd) as well.
I just realized that with dropping of the Python 3.6/3.7 in CI, the PyPy versions that were present in CI at the time weren't re-added for newer Python versions. So we'll need to do this and rethink the test structure.
The test itself is new, it didn't exist in 10.0.0 Ββ it was initially added to cover the bugfixes that landed in 10.0.1.
β I'm submitting a ...
π Describe the bug. What is the current behavior? In cheroot 10.0.1, the tests fails against PyPy3.10 7.3.14, whereas they've passed in 10.0.0. The regressing test is:
β What is the motivation / use case for changing the behavior? Err, making tests pass again?
π‘ To Reproduce
Steps to reproduce the behavior:
tox -e pypy3
β it will fail immediately because of a bug in typeguard. .tox/pypy3/bin/activate
pip uninstall typeguard
python -m pytest
π‘ Expected behavior No test regressions.
π Details
Traceback
```pytb βββββββββββββββββββββββββββββββββββββββββββββ test_remains_alive_post_unhandled_exception βββββββββββββββββββββββββββββββββββββββββββββ [gw5] linux -- Python 3.10.13 /tmp/cheroot/.tox/pypy3/bin/python mocker =π Environment
π Additional context I can reproduce with main (at f156ccd8b13ebc081797c1309d084ae0f3a1b08b) as well.