pytest-dev / pytest-rerunfailures

a pytest plugin that re-runs failed tests up to -n times to eliminate flakey failures
Other
380 stars 83 forks source link

rerun-except option ignores teardown error #270

Open 9WooPWooP8 opened 3 months ago

9WooPWooP8 commented 3 months ago

Hello!

I have a problem, related to using rerun-except. Scenario that causes the problem:

Expected behaviour: test should fail without rerun

It seems to me that only the first raised error in test is taken in account when using --rerun-except? Is there any way to fix it through configuration or is it a library issue?