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 2013年02月24日 00:14 by chris.jerdonek, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| default_test_3.4.patch | kyle.roberts, 2013年05月01日 14:58 | review | ||
| default_test_2.7-3.3.patch | kyle.roberts, 2013年05月01日 15:00 | review | ||
| Messages (4) | |||
|---|---|---|---|
| msg182839 - (view) | Author: Chris Jerdonek (chris.jerdonek) * (Python committer) | Date: 2013年02月24日 00:14 | |
This issue is to document the defaultTest parameter to unittest.main(): http://docs.python.org/dev/library/unittest.html#unittest.main Note that it is not enough simply to say that *defaultTest* is a "default test name or iterable of test names." The documentation should also say when *defaultTest* is used based on the value of the *module* and *argv* arguments, etc. This issue is an offshoot of issue 15132. |
|||
| msg188230 - (view) | Author: Kyle Roberts (kyle.roberts) | Date: 2013年05月01日 15:00 | |
I've uploaded a patch documenting defaultTest in the latest branch and also in the previous branches. |
|||
| msg207180 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2014年01月02日 18:44 | |
New changeset 045e7a587f3c by R David Murray in branch '3.3': #17282: Document unittest.main defaultTest argument. http://hg.python.org/cpython/rev/045e7a587f3c New changeset 69b5f6924553 by R David Murray in branch '2.7': #17282: Document unittest.main defaultTest argument. http://hg.python.org/cpython/rev/69b5f6924553 New changeset 1bbf8c263d3c by R David Murray in branch 'default': Merge and update #17282: Document unittest.main defaultTest argument. http://hg.python.org/cpython/rev/1bbf8c263d3c |
|||
| msg207182 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2014年01月02日 18:46 | |
Thanks Kyle. I reworded it a bit to clarify the precedence of argv over defaultTest. (Also FYI your patch had stray spaces at the ends of the lines.) |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:42 | admin | set | github: 61484 |
| 2014年01月02日 18:46:34 | r.david.murray | set | status: open -> closed nosy: + r.david.murray messages: + msg207182 resolution: fixed stage: patch review -> resolved |
| 2014年01月02日 18:44:50 | python-dev | set | nosy:
+ python-dev messages: + msg207180 |
| 2013年05月10日 04:45:14 | ezio.melotti | set | stage: needs patch -> patch review versions: - Python 3.2 |
| 2013年05月01日 15:00:14 | kyle.roberts | set | files:
+ default_test_2.7-3.3.patch nosy: + kyle.roberts messages: + msg188230 |
| 2013年05月01日 14:58:13 | kyle.roberts | set | files:
+ default_test_3.4.patch keywords: + patch |
| 2013年02月24日 00:14:54 | chris.jerdonek | create | |