fix logreport

This commit is contained in:
anb76ru 2022-11-12 11:10:19 +03:00
parent f513d33d5a
commit 534feecc2d
1 changed files with 1 additions and 2 deletions

View File

@ -587,8 +587,7 @@ class LogXML:
if report.when == "call":
reporter.append_failure(report)
self.open_reports.append(report)
if not self.log_passing_tests:
reporter.write_captured_output(report)
reporter.write_captured_output(report)
else:
reporter.append_error(report)
elif report.skipped: