From: Andrew Svetlov Date: Sat, 31 Aug 2013 17:55:25 +0000 (+0300) Subject: Temporary disable tests cleanup (issue 11798). X-Git-Tag: v3.4.0a2~67 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a41213726b56df97e63572d038ffb451c461657c;p=thirdparty%2FPython%2Fcpython.git Temporary disable tests cleanup (issue 11798). --- diff --git a/Lib/unittest/suite.py b/Lib/unittest/suite.py index 176af57fb0bd..e7b8b4a9fd8d 100644 --- a/Lib/unittest/suite.py +++ b/Lib/unittest/suite.py @@ -66,6 +66,7 @@ class BaseTestSuite(object): def _removeTestAtIndex(self, index): """Stop holding a reference to the TestCase at index.""" + return try: self._tests[index] = None except TypeError: