Commit 80fa21d4 authored by Julien Muchembled's avatar Julien Muchembled

fixup! Fix backportUnittest for Python 2.7.4

parent f325bfd0
......@@ -176,9 +176,6 @@ class TestCase(unittest.TestCase):
"""Skip this test."""
raise SkipTest(reason)
def defaultTestResult(self):
return TestResult()
if not hasattr(unittest.TestResult, 'addSkip'): # BBB: Python < 2.7
unittest.TestResult._orig_init__ = unittest.TestResult.__init__.im_func
......
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