diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-03-27 18:11:55 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-03-27 18:11:55 (GMT) |
commit | 352def0ed24b8736519e3db9050171d2afd9540f (patch) | |
tree | 7cfad26c46cdda240f87806d637836dc2ad57752 /Lib/unittest/case.py | |
parent | 23790b4be0b6d5af4f79c23fd99e03a1499a1bb5 (diff) | |
download | cpython-352def0ed24b8736519e3db9050171d2afd9540f.zip cpython-352def0ed24b8736519e3db9050171d2afd9540f.tar.gz cpython-352def0ed24b8736519e3db9050171d2afd9540f.tar.bz2 |
#17329: document unittest.SkipTest. Initial patch by Zachary Ware.
Diffstat (limited to 'Lib/unittest/case.py')
-rw-r--r-- | Lib/unittest/case.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/case.py b/Lib/unittest/case.py index 6257936..b408464 100644 --- a/Lib/unittest/case.py +++ b/Lib/unittest/case.py @@ -26,7 +26,7 @@ class SkipTest(Exception): """ Raise this exception in a test to skip it. - Usually you can use TestResult.skip() or one of the skipping decorators + Usually you can use TestCase.skipTest() or one of the skipping decorators instead of raising this directly. """ pass |