summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unittest.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-03-22 02:02:37 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-03-22 02:02:37 (GMT)
commitf8197c3489ff7a12259d9eac6d284514f113c0fe (patch)
tree8a9968f2cdce254bc717cb540b1dc0e375e31f03 /Lib/test/test_unittest.py
parente3a1f6d3b7850c1fdca803d9530ded2315297de3 (diff)
downloadcpython-f8197c3489ff7a12259d9eac6d284514f113c0fe.zip
cpython-f8197c3489ff7a12259d9eac6d284514f113c0fe.tar.gz
cpython-f8197c3489ff7a12259d9eac6d284514f113c0fe.tar.bz2
Merged revisions 79270 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r79270 | michael.foord | 2010-03-21 20:56:54 -0500 (Sun, 21 Mar 2010) | 1 line expected failure should not trigger failfast behavior in unittest. ........
Diffstat (limited to 'Lib/test/test_unittest.py')
-rw-r--r--Lib/test/test_unittest.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/test/test_unittest.py b/Lib/test/test_unittest.py
index a88d75b..d291d90 100644
--- a/Lib/test/test_unittest.py
+++ b/Lib/test/test_unittest.py
@@ -2125,12 +2125,6 @@ class Test_TestResult(TestCase):
result.addUnexpectedSuccess(None)
self.assertTrue(result.shouldStop)
- result = unittest.TestResult()
- result._exc_info_to_string = lambda *_: ''
- result.failfast = True
- result.addExpectedFailure(None, None)
- self.assertTrue(result.shouldStop)
-
def testFailFastSetByRunner(self):
runner = unittest.TextTestRunner(stream=io.StringIO(), failfast=True)
def test(result):