Issue 37094: Provide an example for TestCase.skipTest in unittest doc
Issue37094
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2019-05-30 01:50 by makdon, last changed 2022-04-11 14:59 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 13645 | merged | makdon, 2019-05-30 01:50 | |
| PR 13701 | merged | miss-islington, 2019-05-31 16:19 | |
| Messages (4) | |||
|---|---|---|---|
| msg343943 - (view) | Author: makdon (makdon) * | Date: 2019-05-30 01:50 | |
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]https://github.com/python/cpython/pull/13645 |
|||
| msg344085 - (view) | Author: miss-islington (miss-islington) | Date: 2019-05-31 16:19 | |
New changeset ffed76b6fc4d7dd0244b662d6e5738eb496d9def by Miss Islington (bot) (Makdon) in branch 'master': bpo-37094: Add example for TestCase.skipTest in unittest doc (GH-13645) https://github.com/python/cpython/commit/ffed76b6fc4d7dd0244b662d6e5738eb496d9def |
|||
| msg344086 - (view) | Author: miss-islington (miss-islington) | Date: 2019-05-31 16:31 | |
New changeset 8135455c840b9e169a6cd527cb1ee922cafb9109 by Miss Islington (bot) in branch '3.7': bpo-37094: Add example for TestCase.skipTest in unittest doc (GH-13645) https://github.com/python/cpython/commit/8135455c840b9e169a6cd527cb1ee922cafb9109 |
|||
| msg344095 - (view) | Author: Zachary Ware (zach.ware) * ![]() |
Date: 2019-05-31 17:38 | |
Thanks for the patch! |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:15 | admin | set | github: 81275 |
| 2019-05-31 17:38:09 | zach.ware | set | status: open -> closed versions:
+ Python 3.7 messages:
+ msg344095 |
| 2019-05-31 16:31:58 | miss-islington | set | messages: + msg344086 |
| 2019-05-31 16:19:34 | miss-islington | set | keywords:
+ patch stage: patch review pull_requests: + pull_request13587 |
| 2019-05-31 16:19:15 | miss-islington | set | nosy:
+ miss-islington messages: + msg344085 |
| 2019-05-30 01:50:03 | makdon | create | |
