Commit 012baf7a authored by Fred Drake's avatar Fred Drake

parent 28e8b97f
......@@ -442,7 +442,7 @@ class _JUnitTextTestResult(TestResult):
TestResult.addError(self,test,error)
self.stream.write('E')
self.stream.flush()
if err[0] is KeyboardInterrupt:
if error[0] is KeyboardInterrupt:
self.shouldStop = 1
def addFailure(self, test, error):
......
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