Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 317075d

Browse files
committed
use unittest.skip; thanks to Chang Min Jeon from docs@
1 parent de0f629 commit 317075d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/unittest.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ This is the output of running the example above in verbose mode: ::
640640

641641
Classes can be skipped just like methods: ::
642642

643-
@skip("showing class skipping")
643+
@unittest.skip("showing class skipping")
644644
class MySkippedTestCase(unittest.TestCase):
645645
def test_not_run(self):
646646
pass

0 commit comments

Comments
 (0)