Skip to content
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

Captured stdio output repeating in HTML report #872

Open
zaoptos opened this issue Feb 6, 2025 · 0 comments
Open

Captured stdio output repeating in HTML report #872

zaoptos opened this issue Feb 6, 2025 · 0 comments

Comments

@zaoptos
Copy link

zaoptos commented Feb 6, 2025

My test produces log output using the logging module. In the HTML report, the output lines repeat, and the repetition increases for the number of tests run.

e.g

first test:

---------------------------- Captured stderr setup -----------------------------
2025-02-06 10:26:49,996 - test - DEBUG - Something
2025-02-06 10:26:49,996 - test - DEBUG - Something else

second test

---------------------------- Captured stderr setup -----------------------------
2025-02-06 10:26:49,996 - test - DEBUG - Something
2025-02-06 10:26:49,996 - test - DEBUG - Something
2025-02-06 10:26:49,996 - test - DEBUG - Something else
2025-02-06 10:26:49,996 - test - DEBUG - Something else

using pytest-html>=4.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant