On Pytest 6.0.0rc1 with timeout method is set to thread (signal works correctly) below exception occurs each time a timeout is expected:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pytest_timeout.py", line 384, in timeout_timer
pytest_version = StrictVersion(pytest.__version__)
File "/usr/local/lib/python3.7/distutils/version.py", line 40, in __init__
self.parse(vstring)
File "/usr/local/lib/python3.7/distutils/version.py", line 137, in parse
raise ValueError("invalid version number '%s'" % vstring)
ValueError: invalid version number '6.0.0rc1'
On Pytest
6.0.0rc1
with timeout method is set tothread
(signal
works correctly) below exception occurs each time a timeout is expected: