You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Provide an example for TestCase.skipTest in unittest doc #81275
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2019-05-31.17:38:09.729>created_at=<Date2019-05-30.01:50:03.399>labels= ['3.8', 'type-feature', '3.7', 'docs']
title='Provide an example for TestCase.skipTest in unittest doc'updated_at=<Date2019-05-31.17:38:09.722>user='https://github.com/makdon'
I found that there's an function TestCase.skipTest(reason)[0] supports skipping test in testing, but there's no example for this function in chapter Skipping tests[1] and expected failures
I create PR[2] for updating the example for TestCase.skipTest in unittest doc.
The example is from Lib/unittest/test, the test for unittest.
I am sorry for that i don't know if the issue tracker support markdown link syntax, so i just copy and paste the link below:
New changeset ffed76b by Miss Islington (bot) (Makdon) in branch 'master': bpo-37094: Add example for TestCase.skipTest in unittest doc (GH-13645) ffed76b
Activity
makdon commentedon May 30, 2019
I found that there's an function TestCase.skipTest(reason)[0] supports skipping test in testing, but there's no example for this function in chapter Skipping tests[1] and expected failures
I create PR[2] for updating the example for TestCase.skipTest in unittest doc.
The example is from Lib/unittest/test, the test for unittest.
I am sorry for that i don't know if the issue tracker support markdown link syntax, so i just copy and paste the link below:
[0] https://docs.python.org/3.7/library/unittest.html#unittest.TestCase.skipTest
[1]https://docs.python.org/3.7/library/unittest.html#skipping-tests-and-expected-failures
[2]#13645
miss-islington commentedon May 31, 2019
New changeset ffed76b by Miss Islington (bot) (Makdon) in branch 'master':
bpo-37094: Add example for TestCase.skipTest in unittest doc (GH-13645)
ffed76b
miss-islington commentedon May 31, 2019
New changeset 8135455 by Miss Islington (bot) in branch '3.7':
bpo-37094: Add example for TestCase.skipTest in unittest doc (GH-13645)
8135455
zware commentedon May 31, 2019
Thanks for the patch!