commit | a50af069318213a8e129e9fc02745446517797f0 | [log] [tgz] |
---|---|---|
author | Michael Foord <fuzzyman@voidspace.org.uk> | Thu May 21 22:57:02 2009 +0000 |
committer | Michael Foord <fuzzyman@voidspace.org.uk> | Thu May 21 22:57:02 2009 +0000 |
tree | bbc58e5aabe0aefdb485fa66a7d8c12f1a32cd7b | |
parent | a4e0efa4b13e9a51faad19be27b18ed02c9a26f0 [diff] [blame] |
Rename TestCase._result to _resultForDoCleanups to avoid potential clashes in TestCase subclasses. Issue 6072.
diff --git a/Lib/test/test_unittest.py b/Lib/test/test_unittest.py index d815a11..4f89d87 100644 --- a/Lib/test/test_unittest.py +++ b/Lib/test/test_unittest.py
@@ -3203,7 +3203,7 @@ result = MockResult() test = TestableTest('testNothing') - test._result = result + test._resultForDoCleanups = result exc1 = Exception('foo') exc2 = Exception('bar')