use unittest.skip; thanks to Chang Min Jeon from docs@
This commit is contained in:
parent
de0f6297a7
commit
317075de29
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue