Skip to content

Commit 4b47a99

Browse files
committed
Fixes #191
1 parent a6479ce commit 4b47a99

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

xmlrunner/result.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,8 @@ def generate_reports(self, test_runner):
645645
with open(filename, 'wb') as report_file:
646646
report_file.write(xml_content)
647647

648-
self.stream.writeln('Generated XML report: {}'.format(filename))
648+
if self.showAll:
649+
self.stream.writeln('Generated XML report: {}'.format(filename))
649650

650651
if not outputHandledAsString:
651652
# Assume that test_runner.output is a stream

0 commit comments

Comments
 (0)