use unittest.skip; thanks to Chang Min Jeon from docs@

This commit is contained in:
Sandro Tosi 2012-03-31 18:34:59 +02:00
parent de0f6297a7
commit 317075de29
1 changed files with 1 additions and 1 deletions

View File

@ -640,7 +640,7 @@ This is the output of running the example above in verbose mode: ::
Classes can be skipped just like methods: :: Classes can be skipped just like methods: ::
@skip("showing class skipping") @unittest.skip("showing class skipping")
class MySkippedTestCase(unittest.TestCase): class MySkippedTestCase(unittest.TestCase):
def test_not_run(self): def test_not_run(self):
pass pass