use unittest.skip; thanks to Chang Min Jeon from docs@
This commit is contained in:
parent
93a224dd75
commit
6ca845c66a
|
@ -616,7 +616,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
|
||||
|
|
Loading…
Reference in New Issue