-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The teardown does not execute properly for session level fixture when we use --reruns
(from pytest-rerunfailures
)
#272
Comments
I am using pytest 8.2 and pytest-rerunfailures 14.0 |
Please provide details on what command you run |
Running directly using pycharm. Fyi it works in pytest 8.1.0 |
Also, I have tested this it works on pytest 8.1.0 but not in 8.2.0. |
This issue is stale because it has the |
i used below command: |
What else is required? |
This sounds like an issue in pytest-rerunfailures rather than pytest. But given that it started appearing with pytest 8.2.0, it might still be interesting to see what change in pytest caused it. |
--reruns
(from pytest-rerunfailures
)
I think I see the same issue: #274 |
Pytest 8.2 is not yet supported, see #267. So closing this issue in favor of that one. |
When you will run the "test_example_fixture" test, You will observe that the teardown is never printed in console. This is restricting the clean up in my project.
NOTE: It happens only when we use rerun failed tests.
The text was updated successfully, but these errors were encountered: