Commit 95ffff59 authored by Stefan Behnel's avatar Stefan Behnel

fix error reporting in xml test runner

parent 55f70230
......@@ -213,7 +213,7 @@ class _XMLTestResult(_TextTestResult):
for tests in (self.successes, self.failures, self.errors):
for test_info in tests:
if not isinstance(test_info, _TestInfo):
print("Unexpected test result type: %s" % test_info)
print("Unexpected test result type: %r" % (test_info,))
continue
testcase = type(test_info.test_method)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment