-
Notifications
You must be signed in to change notification settings - Fork 75
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
Log captured during setup is displayed 3 times #191
Labels
Comments
this is probably the same fault that is reported in #222 . I have just started using pytest-sugar and when I pytest with any combination of the -r flag, I get output three times... import pytest
class Test:
@pytest.fixture()
def setUp(self):
print("setup")
yield "resource"
print("teardown")
def test_that_depends_on_resource(self, setUp):
print("testing {}".format(setUp)) and I get:
and
.... :( |
I'm not seeing this issue with the following: python 3.11.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Test file
Output with pytest-sugar
Output with pytest-sugar
The text was updated successfully, but these errors were encountered: