Fixed a bug where stdout and stderr were logged twice by junitxml.

This commit is contained in:
Jeffrey Rackauckas
2018-05-23 19:34:45 -07:00
parent afde9f07f7
commit 6c519b1280
3 changed files with 19 additions and 1 deletions

View File

@@ -224,7 +224,7 @@ class _NodeReporter(object):
Junit.skipped("%s:%s: %s" % (filename, lineno, skipreason),
type="pytest.skip",
message=skipreason))
self.write_captured_output(report)
self.write_captured_output(report)
def finalize(self):
data = self.to_xml().unicode(indent=0)