Brett Cannon
9ae2cb740a
Merged revisions 83072 via svnmerge from
...
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.
........
2010-07-23 12:07:27 +00:00
Benjamin Peterson
9b14ae8814
2to3 doesn't fix test_support #6583
2010-05-28 03:10:31 +00:00
Senthil Kumaran
71a632433f
Fix minor typo.
2010-05-18 03:20:43 +00:00
R. David Murray
6c9fc4cf2b
A couple small grammar fixes in test.rst, and rewrite the
...
check_warnings docs to be clearer.
2010-04-01 01:28:39 +00:00
Florent Xicluna
735885428d
#8155 : Preserve backward compatibility for test_support.check_warnings(). Add regression tests.
2010-03-18 19:51:47 +00:00
Florent Xicluna
fc8a1ed70e
Refresh the documentation for the test.test_support module.
2010-03-07 19:14:12 +00:00
Walter Dörwald
6733bed57e
Make test.test_support.EnvironmentVarGuard behave like a dictionary.
...
All changes are mirrored to the underlying os.environ dict, but rolled back
on exit from the with block.
2009-05-01 17:35:37 +00:00
Nick Coghlan
5533ff6a2e
Issue 5354: Change API for import_fresh_module() to better support test_warnings use case (also fixes some bugs in the original implementation)
2009-04-22 15:26:04 +00:00
Nick Coghlan
cd2e7042ae
Issue 5354: Provide a standardised testing mechanism for doing fresh imports of modules, including the ability to block extension modules in order to test the pure Python fallbacks
2009-04-11 13:31:31 +00:00
Nick Coghlan
d2e0938362
Issue #3781 : Final cleanup of warnings.catch_warnings and its usage in the test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon)
2008-09-11 12:11:06 +00:00
Nick Coghlan
12c8660cc6
Correct a couple of errors in the updated catch_warning documentation (the Py3k version was fixed before being checked in)
2008-07-13 12:36:42 +00:00
Nick Coghlan
38469e2719
Make test.test_support.catch_warnings more robust as discussed on python-dev. Also add explicit tests for itto test_warnings.
2008-07-13 12:23:47 +00:00
Brett Cannon
e76e4d7fb8
Add a note about the renaming of test.test_support in 3.0.
2008-05-20 22:08:20 +00:00
Brett Cannon
98b9c07ab7
Document the 'record' argument for test.test_support.catch_warning().
2008-05-08 20:20:54 +00:00
Andrew M. Kuchling
f15ff46be5
Markup fix
2008-01-15 01:29:44 +00:00
Georg Brandl
b19be571e0
Some cleanup in the docs.
2007-12-29 10:57:00 +00:00
Georg Brandl
d558f67d5d
Document new utility functions in test_support.
2007-08-24 18:27:43 +00:00
Georg Brandl
8ec7f65613
Move the 2.6 reST doc tree in place.
2007-08-15 14:28:01 +00:00