summaryrefslogtreecommitdiffstats
path: root/Doc/library/test.rst
Commit message (Collapse)AuthorAgeFilesLines
* Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-2/+2
|\
| * Issue #19795: Mark up None as literal text.Serhiy Storchaka2016-10-191-2/+2
| |
* | Merge Issue #22558.Terry Jan Reedy2016-06-111-0/+2
|\ \ | |/
| * Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-0/+2
| | | | | | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* | Merge doc and comment fixes from 3.5Martin Panter2016-04-191-1/+1
|\ \ | |/
| * Fix spelling (inital), grammar (may translates) in documentation, commentsMartin Panter2016-04-191-1/+1
| |
* | merge with 3.5Georg Brandl2016-02-261-1/+1
|\ \ | |/
| * Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵Georg Brandl2016-02-261-1/+1
| | | | | | | | to SilentGhost for the patch.
* | Issue #23883: Add test.support.check__all__() and test gettext.__all__Martin Panter2015-11-141-0/+42
|/ | | | Patches by Jacek Kołodziej.
* Merge typo fixes from 3.4 into 3.5Martin Panter2015-10-071-1/+1
|\
| * Various minor typos in documentation and commentsMartin Panter2015-10-071-1/+1
| |
| * Doc: fix default role usage (except in unittest mock docs)Georg Brandl2014-10-301-3/+3
| |
* | Fix usage of the default role.Zachary Ware2015-07-071-3/+3
| |
* | issue9859: add the missing versionadded tag to the documentation.Gregory P. Smith2015-04-141-0/+2
| |
* | issue9859: Document test.support.detect_api_mismatch() and simplify its test.Gregory P. Smith2015-04-141-0/+9
| |
* | Doc: fix default role usage (except in unittest mock docs)Georg Brandl2014-10-301-3/+3
|/
* Issue #22002: Make full use of test discovery in test sub-packages.Zachary Ware2014-07-231-1/+16
| | | | | | Adds `load_package_tests` function to test.support, uses it in test_asyncio, test_email, test_json, test_tools, test_importlib and all test_importlib sub-packages to implement test discovery.
* Merge in all documentation changes since branching 3.4.0rc1.Larry Hastings2014-03-161-0/+1
|
* Issue #18948: improve SuppressCoreFiles to include Windows crash popup ↵Antoine Pitrou2013-10-081-7/+15
| | | | | | suppression, and use it in more tests. Patch by Valerie Lambert and Zachary Ware.
* Close #18952: correctly download test support dataNick Coghlan2013-09-081-1/+4
| | | | | | | | | | | | When test.support was converted to a package, it started silently skipping the tests which needed to download support data to run. This change refactors the affected code, and also tidies up test.support.findfile to remove the unused *here* parameter, document the *subdir* parameter and rename the *filename* parameter to avoid shadowing the file builtin and be consistent with the documentation. The unexpected skips were noticed and reported by Zachary Ware
* Issue #12645: Clarify and reformat the documentation of import_fresh_moduleEli Bendersky2013-08-111-7/+7
|
* Close #15415: Factor out temp dir helpers to test.supportNick Coghlan2013-07-281-8/+30
| | | | Patch by Chris Jerdonek
* #17987: properly document support.captured_xxx.R David Murray2013-07-111-7/+19
| | | | Patch by Dmi Baranov.
* #11732: add a new suppress_crash_popup() context manager to test.support.Ezio Melotti2013-03-051-0/+7
|
* StringIO.StringIO -> io.StringIO (closes #17168)Benjamin Peterson2013-02-091-3/+3
|
* Issue #14554: merge with 3.2Sandro Tosi2012-04-241-1/+1
|\
| * Issue #14554: correct example for captured_stdout(); patch by Tshepang ↵Sandro Tosi2012-04-241-1/+1
| | | | | | | | Lekhonkhobe
* | Merge doc fixes #14553 and #14552.R David Murray2012-04-121-3/+3
|\ \ | |/
| * #14552: remove redundant wording in 'test' docs.R David Murray2012-04-121-3/+3
| | | | | | | | Original patch by Tshepang Lekhonkhobe.
* | Reflow paragraph (not that it helped much).R David Murray2012-04-091-10/+9
| |
* | #14533: if a test has no test_main, use loadTestsFromModule.R David Murray2012-04-091-15/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves us further in the direction of using normal unittest facilities instead of specialized regrtest ones. Any test module that can be correctly run currently using 'python unittest -m test.test_xxx' can now be converted to use normal unittest test loading by simply deleting its test_main, thus no longer requiring manual maintenance of the list of tests to run. (Not all tests can be converted that easily, since test_main sometimes does some additional things (such as reap_children or reap_threads). In those cases the extra code may be moved to setUpModule/tearDownModule methods, or perhaps the same ends can be achieved in a different way, such as moving the decorators to the test classes that need them, etc.) I don't advocate going through and making this change wholesale, but any time a list of tests in test_main would otherwise need to be updated, consideration should instead be given to deleting test_main.
* | Close issue 12958 by flagging expected failures in test_socket on Mac OS XNick Coghlan2011-09-191-2/+9
| |
* | Merge with 3.2.Georg Brandl2011-07-301-7/+11
|\ \ | |/
| * Change test.support docs to be more specific about the nature of this module.Georg Brandl2011-07-301-7/+12
| |
* | fix doc typo for library/test.rstEli Bendersky2011-07-271-1/+1
| |
* | Issue #11015: bring test.support docs up to dateEli Bendersky2011-05-061-10/+106
|/
* Make this a note again.Antoine Pitrou2010-12-181-1/+1
|
* Advertise “python -m test” over test.regrtest (r87296 followup)Éric Araujo2010-12-161-10/+13
|
* Advertise “python -m” instead of direct filename.Éric Araujo2010-12-161-3/+3
|
* Make this a warning and fix indentationAntoine Pitrou2010-12-121-6/+6
|
* Fix usage of :option: in the docs (#9312).Éric Araujo2010-11-181-11/+10
| | | | | | | | | | | | | | | | | :option: is used to create a link to an option of python, not to mark up any instance of any arbitrary command-line option. These were changed to ````. For modules which do have a command-line interface, lists of options have been properly marked up with the program/cmdoption directives combo. Options defined in such blocks can be linked to with :option: later in the same file, they won’t link to an option of python. Finally, the markup of command-line fragments in optparse.rst has been cleaned to use ``x`` instead of ``"x"``, keeping that latter form for actual Python strings. Patch by Eli Bendersky and Éric Araujo.
* Fix a minor docs bug.Senthil Kumaran2010-10-151-2/+2
|
* Document the fact that the 'test' package is meant only for use by PythonBrett Cannon2010-07-231-0/+7
| | | | | | itself and not by others. Closes issue 9255.
* Merged revisions 81279 via svnmerge fromSenthil Kumaran2010-05-181-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81279 | senthil.kumaran | 2010-05-18 08:50:43 +0530 (Tue, 18 May 2010) | 3 lines Fix minor typo. ........
* Merged revisions ↵Benjamin Peterson2010-04-111-31/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 79307,79408,79430,79533,79542,79579-79580,79585-79587,79607-79608,79622,79717,79820,79822,79828,79862,79875,79923-79924,79941-79943,79945,79947,79951-79952 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r79307 | florent.xicluna | 2010-03-22 17:45:50 -0500 (Mon, 22 Mar 2010) | 2 lines #7667: Fix doctest failures with non-ASCII paths. ........ r79408 | victor.stinner | 2010-03-24 20:18:38 -0500 (Wed, 24 Mar 2010) | 2 lines Fix a gcc warning introduced by r79397. ........ r79430 | brian.curtin | 2010-03-25 18:48:54 -0500 (Thu, 25 Mar 2010) | 2 lines Fix #6538. Markup RegexObject and MatchObject as classes. Patch by Ryan Arana. ........ r79533 | barry.warsaw | 2010-03-31 16:07:16 -0500 (Wed, 31 Mar 2010) | 6 lines - Issue #8233: When run as a script, py_compile.py optionally takes a single argument `-` which tells it to read files to compile from stdin. Each line is read on demand and the named file is compiled immediately. (Original patch by Piotr O?\197?\188arowski). ........ r79542 | r.david.murray | 2010-03-31 20:28:39 -0500 (Wed, 31 Mar 2010) | 3 lines A couple small grammar fixes in test.rst, and rewrite the check_warnings docs to be clearer. ........ r79579 | georg.brandl | 2010-04-02 03:34:41 -0500 (Fri, 02 Apr 2010) | 1 line Add 2.6.5. ........ r79580 | georg.brandl | 2010-04-02 03:39:09 -0500 (Fri, 02 Apr 2010) | 1 line #2768: add a note on how to get a file descriptor. ........ r79585 | georg.brandl | 2010-04-02 04:03:18 -0500 (Fri, 02 Apr 2010) | 1 line Remove col-spanning cells in logging docs. ........ r79586 | georg.brandl | 2010-04-02 04:07:42 -0500 (Fri, 02 Apr 2010) | 1 line Document PyImport_ExecCodeModuleEx(). ........ r79587 | georg.brandl | 2010-04-02 04:11:49 -0500 (Fri, 02 Apr 2010) | 1 line #8012: clarification in generator glossary entry. ........ r79607 | andrew.kuchling | 2010-04-02 12:48:23 -0500 (Fri, 02 Apr 2010) | 1 line #6647: document that catch_warnings is not thread-safe ........ r79608 | andrew.kuchling | 2010-04-02 12:54:26 -0500 (Fri, 02 Apr 2010) | 1 line #6647: add note to two examples ........ r79622 | tarek.ziade | 2010-04-02 16:34:19 -0500 (Fri, 02 Apr 2010) | 1 line removed documentation on code that was reverted and pushed into distutils2 ........ r79717 | antoine.pitrou | 2010-04-03 16:22:38 -0500 (Sat, 03 Apr 2010) | 4 lines Fix wording / typography, and a slightly misleading statement (memoryviews don't support complex structures right now) ........ r79820 | benjamin.peterson | 2010-04-05 22:34:09 -0500 (Mon, 05 Apr 2010) | 1 line ready _sre types ........ r79822 | georg.brandl | 2010-04-06 03:18:15 -0500 (Tue, 06 Apr 2010) | 1 line #8320: document return value of recv_into(). ........ r79828 | georg.brandl | 2010-04-06 09:33:44 -0500 (Tue, 06 Apr 2010) | 1 line Add JP. ........ r79862 | georg.brandl | 2010-04-06 15:27:59 -0500 (Tue, 06 Apr 2010) | 1 line Fix syntax. ........ r79875 | mark.dickinson | 2010-04-06 17:18:23 -0500 (Tue, 06 Apr 2010) | 1 line More NaN consistency doc fixes. ........ r79923 | georg.brandl | 2010-04-10 06:15:24 -0500 (Sat, 10 Apr 2010) | 1 line #8360: skipTest was added in 2.7. ........ r79924 | georg.brandl | 2010-04-10 06:16:59 -0500 (Sat, 10 Apr 2010) | 1 line #8346: update version. ........ r79941 | andrew.kuchling | 2010-04-10 20:39:36 -0500 (Sat, 10 Apr 2010) | 1 line Two grammar fixes ........ r79942 | andrew.kuchling | 2010-04-10 20:40:06 -0500 (Sat, 10 Apr 2010) | 1 line Punctuation fix ........ r79943 | andrew.kuchling | 2010-04-10 20:40:30 -0500 (Sat, 10 Apr 2010) | 1 line Add various items ........ r79945 | andrew.kuchling | 2010-04-10 20:40:49 -0500 (Sat, 10 Apr 2010) | 1 line name correct ........ r79947 | andrew.kuchling | 2010-04-10 20:44:13 -0500 (Sat, 10 Apr 2010) | 1 line Remove distutils section ........ r79951 | andrew.kuchling | 2010-04-11 07:48:08 -0500 (Sun, 11 Apr 2010) | 1 line Two typo fixes ........ r79952 | andrew.kuchling | 2010-04-11 07:49:37 -0500 (Sun, 11 Apr 2010) | 1 line Add two items ........
* Update versionadded/changed.Ezio Melotti2010-03-211-1/+1
|
* Merged revisions 79049 via svnmerge fromFlorent Xicluna2010-03-181-48/+50
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79049 | florent.xicluna | 2010-03-18 20:51:47 +0100 (jeu, 18 mar 2010) | 2 lines #8155: Preserve backward compatibility for test_support.check_warnings(). Add regression tests. ........
* Only the parts which are relevant for 3.x branch.Florent Xicluna2010-03-131-23/+41
| | | | | | | | | | | | | | | | | | | | | | | | Merged revisions 78757-78758,78769,78815 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78757 | florent.xicluna | 2010-03-07 13:14:25 +0100 (dim, 07 mar 2010) | 2 lines Fix some py3k warnings in the standard library. ........ r78758 | florent.xicluna | 2010-03-07 13:18:33 +0100 (dim, 07 mar 2010) | 4 lines Issue #7849: Now the utility ``check_warnings`` verifies if the warnings are effectively raised. A new utility ``check_py3k_warnings`` deals with py3k warnings. ........ r78769 | florent.xicluna | 2010-03-07 20:14:12 +0100 (dim, 07 mar 2010) | 2 lines Refresh the documentation for the test.test_support module. ........ r78815 | florent.xicluna | 2010-03-09 20:57:01 +0100 (mar, 09 mar 2010) | 2 lines #7772: Fix test_py3kwarn. Now the test suite could pass with "-3" flag. ........
* Last round of adapting style of documenting argument default values.Georg Brandl2009-09-161-4/+3
|
* 2.7 -> 3.1 versionchanges.Georg Brandl2009-05-051-1/+1
|