diff options
author | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-03-29 20:04:23 (GMT) |
---|---|---|
committer | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-03-29 20:04:23 (GMT) |
commit | e6410c536c9dca5a3a7899888c071f41a1767291 (patch) | |
tree | a654e088538f3ca6b1b78aa3a2f2c95315124852 /Lib/unittest/test | |
parent | b8d688cd7c8b7d267cb84f2431457b71e52628fb (diff) | |
download | cpython-e6410c536c9dca5a3a7899888c071f41a1767291.zip cpython-e6410c536c9dca5a3a7899888c071f41a1767291.tar.gz cpython-e6410c536c9dca5a3a7899888c071f41a1767291.tar.bz2 |
Backport of weakref.WeakSet and tests from Python 3.
Diffstat (limited to 'Lib/unittest/test')
-rw-r--r-- | Lib/unittest/test/test_result.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/unittest/test/test_result.py b/Lib/unittest/test/test_result.py index cf944b0..c29fd9c 100644 --- a/Lib/unittest/test/test_result.py +++ b/Lib/unittest/test/test_result.py @@ -24,6 +24,7 @@ class Test_TestResult(unittest.TestCase): self.assertEqual(result.testsRun, 0) self.assertEqual(result.shouldStop, False) + # "This method can be called to signal that the set of tests being # run should be aborted by setting the TestResult's shouldStop # attribute to True." |