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 | 265281ac02d4ab82a8acdd38a1c38c4ecd9ce60d (patch) | |
tree | ee191b6e38112a96e7905ac0435dd53c6708d543 /Lib/unittest | |
parent | 7380a67267d9ec59b70617ea59ff31819f530942 (diff) | |
download | cpython-265281ac02d4ab82a8acdd38a1c38c4ecd9ce60d.zip cpython-265281ac02d4ab82a8acdd38a1c38c4ecd9ce60d.tar.gz cpython-265281ac02d4ab82a8acdd38a1c38c4ecd9ce60d.tar.bz2 |
#17329: document unittest.SkipTest. Initial patch by Zachary Ware.
Diffstat (limited to 'Lib/unittest')
-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 bea8107..0ef3de7 100644 --- a/Lib/unittest/case.py +++ b/Lib/unittest/case.py @@ -23,7 +23,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. """ |