summaryrefslogtreecommitdiffstats
path: root/Doc/library/test.rst
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 86521,86632,86823-86824,87294,87296,87300,87302 via ↵Éric Araujo2010-12-161-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86521 | eric.araujo | 2010-11-18 17:38:46 +0100 (jeu., 18 nov. 2010) | 17 lines Fix usage of :option: in the docs (#9312). :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. ........ r86632 | eric.araujo | 2010-11-21 04:09:17 +0100 (dim., 21 nov. 2010) | 2 lines Style edits in followup to r86521 (#9312) ........ r86823 | eric.araujo | 2010-11-27 00:31:07 +0100 (sam., 27 nov. 2010) | 2 lines Use link-generating markup (see #9312) ........ r86824 | eric.araujo | 2010-11-27 00:46:18 +0100 (sam., 27 nov. 2010) | 2 lines Rewrap long lines + minor edits ........ r87294 | eric.araujo | 2010-12-16 01:07:01 +0100 (jeu., 16 déc. 2010) | 2 lines No need to generate a link for something that’s just above. ........ r87296 | eric.araujo | 2010-12-16 01:23:30 +0100 (jeu., 16 déc. 2010) | 2 lines Advertise “python -m” instead of direct filename. ........ r87300 | eric.araujo | 2010-12-16 02:40:26 +0100 (jeu., 16 déc. 2010) | 2 lines Advertise “python -m test” over test.regrtest (r87296 followup) ........ r87302 | eric.araujo | 2010-12-16 03:10:11 +0100 (jeu., 16 déc. 2010) | 2 lines Add versionadded directive missing from r78983. ........
* Merged revisions 83072 via svnmerge fromBrett Cannon2010-07-231-0/+7
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83072 | brett.cannon | 2010-07-23 12:31:31 +0100 (Fri, 23 Jul 2010) | 5 lines Document the fact that the 'test' package is meant only for use by Python itself and not by others. Closes issue 9255. ........
* 2to3 doesn't fix test_support #6583Benjamin Peterson2010-05-281-5/+1
|
* Fix minor typo.Senthil Kumaran2010-05-181-1/+1
|
* A couple small grammar fixes in test.rst, and rewrite theR. David Murray2010-04-011-38/+46
| | | | check_warnings docs to be clearer.
* #8155: Preserve backward compatibility for test_support.check_warnings(). ↵Florent Xicluna2010-03-181-50/+53
| | | | Add regression tests.
* Refresh the documentation for the test.test_support module.Florent Xicluna2010-03-071-23/+55
|
* Make test.test_support.EnvironmentVarGuard behave like a dictionary.Walter Dörwald2009-05-011-1/+7
| | | | | All changes are mirrored to the underlying os.environ dict, but rolled back on exit from the with block.
* Issue 5354: Change API for import_fresh_module() to better support ↵Nick Coghlan2009-04-221-4/+28
| | | | test_warnings use case (also fixes some bugs in the original implementation)
* Issue 5354: Provide a standardised testing mechanism for doing fresh imports ↵Nick Coghlan2009-04-111-0/+24
| | | | of modules, including the ability to block extension modules in order to test the pure Python fallbacks
* Issue #3781: Final cleanup of warnings.catch_warnings and its usage in the ↵Nick Coghlan2008-09-111-17/+24
| | | | test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon)
* Correct a couple of errors in the updated catch_warning documentation (the ↵Nick Coghlan2008-07-131-2/+2
| | | | Py3k version was fixed before being checked in)
* Make test.test_support.catch_warnings more robust as discussed on ↵Nick Coghlan2008-07-131-9/+24
| | | | python-dev. Also add explicit tests for itto test_warnings.
* Add a note about the renaming of test.test_support in 3.0.Brett Cannon2008-05-201-0/+8
|
* Document the 'record' argument for test.test_support.catch_warning().Brett Cannon2008-05-081-4/+6
|
* Markup fixAndrew M. Kuchling2008-01-151-1/+1
|
* Some cleanup in the docs.Georg Brandl2007-12-291-2/+0
|
* Document new utility functions in test_support.Georg Brandl2007-08-241-2/+31
|
* Move the 2.6 reST doc tree in place.Georg Brandl2007-08-151-0/+317