Rename TestCase._result to _resultForDoCleanups to avoid potential clashes in TestCase subclasses. Issue 6072.

This commit is contained in:
Michael Foord 2009-05-21 22:57:02 +00:00
parent a4e0efa4b1
commit a50af06931
2 changed files with 4 additions and 4 deletions

View file

@ -3203,7 +3203,7 @@ class TestCleanUp(TestCase):
result = MockResult()
test = TestableTest('testNothing')
test._result = result
test._resultForDoCleanups = result
exc1 = Exception('foo')
exc2 = Exception('bar')