diff options
author | Sandro Tosi <sandro.tosi@gmail.com> | 2012-03-31 16:34:59 (GMT) |
---|---|---|
committer | Sandro Tosi <sandro.tosi@gmail.com> | 2012-03-31 16:34:59 (GMT) |
commit | 317075de2981c9283e7af7bcf727ef8ae8ee4f4e (patch) | |
tree | 1f7ce4225ac7a293c9a2d3bd6fc0278fcf02be4f /Doc | |
parent | de0f6297a703918d12a2f2c48bc44fcbc7946a13 (diff) | |
download | cpython-317075de2981c9283e7af7bcf727ef8ae8ee4f4e.zip cpython-317075de2981c9283e7af7bcf727ef8ae8ee4f4e.tar.gz cpython-317075de2981c9283e7af7bcf727ef8ae8ee4f4e.tar.bz2 |
use unittest.skip; thanks to Chang Min Jeon from docs@
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/unittest.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index bdf07a4..b130a8b 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -640,7 +640,7 @@ This is the output of running the example above in verbose mode: :: Classes can be skipped just like methods: :: - @skip("showing class skipping") + @unittest.skip("showing class skipping") class MySkippedTestCase(unittest.TestCase): def test_not_run(self): pass |