mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix bug in TestResult.addSubTest()
This commit is contained in:
parent
e612c1e29f
commit
22e162f462
2 changed files with 35 additions and 1 deletions
|
@ -134,7 +134,7 @@ class TestResult(object):
|
|||
errors = self.failures
|
||||
else:
|
||||
errors = self.errors
|
||||
errors.append((test, self._exc_info_to_string(err, test)))
|
||||
errors.append((subtest, self._exc_info_to_string(err, test)))
|
||||
self._mirrorOutput = True
|
||||
|
||||
def addSuccess(self, test):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue