pytest-dev / pytest-timeout

MIT License
206 stars 63 forks source link

pytest timeout in pytest.ini is not working #156

Closed jiz17043 closed 10 months ago

jiz17043 commented 10 months ago

image I have added the timeout in the pytest.ini and installed pytest-timeout. But the test still is working after 5 seconds. And it also has a warning for not recognizing the timeout image

simon-liebehenschel commented 10 months ago

Please show full pytest output (I want to see a full =============== test session starts ================= section).

Not related to the question, but you may want to read Writing the perfect question.

jiz17043 commented 10 months ago

pytest-benchmark 4.0.0 pytest-cov 4.1.0 pytest-json 0.4.0 pytest-mock 3.11.1 pytest-timeout 2.2.0 pytest-xdist 3.3.1 python-apt 2.2.1 python-dateutil 2.8.2

image

jiz17043 commented 10 months ago

It seems that it is not in my global python environment

The-Compiler commented 10 months ago

Closing this then, given that the plugin wasn't installed in the first place.