[Python-checkins] cpython (merge 3.2 -> 3.2): merging Georg's revision
eli.bendersky
python-checkins at python.org
Sat Jul 30 10:39:45 CEST 2011
http://hg.python.org/cpython/rev/febf911c2e95
changeset: 71631:febf911c2e95
branch: 3.2
parent: 71629:cfb60dfa7734
parent: 71626:4bcfb24c7f1f
user: Eli Bendersky <eliben at gmail.com>
date: Sat Jul 30 11:36:41 2011 +0300
summary:
merging Georg's revision
files:
Doc/library/test.rst | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/Doc/library/test.rst b/Doc/library/test.rst
--- a/Doc/library/test.rst
+++ b/Doc/library/test.rst
@@ -187,19 +187,24 @@
regression tests.
-:mod:`test.support` --- Utility functions for tests
-===================================================
+:mod:`test.support` --- Utilities for the Python test suite
+===========================================================
.. module:: test.support
- :synopsis: Support for Python regression tests.
+ :synopsis: Support for Python's regression test suite.
The :mod:`test.support` module provides support for Python's regression
-tests.
+test suite.
+
+.. note::
+ :mod:`test.support` is not a public module. It is documented here to help
+ Python developers write tests. The API of this module is subject to change
+ without backwards compatibility concerns between releases.
+
This module defines the following exceptions:
-
.. exception:: TestFailed
Exception to be raised when a test fails. This is deprecated in favor of
@@ -213,9 +218,9 @@
network connection) is not available. Raised by the :func:`requires`
function.
+
The :mod:`test.support` module defines the following constants:
-
.. data:: verbose
:const:`True` when verbose output is enabled. Should be checked when more
@@ -233,9 +238,9 @@
Set to a name that is safe to use as the name of a temporary file. Any
temporary file that is created should be closed and unlinked (removed).
+
The :mod:`test.support` module defines the following functions:
-
.. function:: forget(module_name)
Remove the module named *module_name* from ``sys.modules`` and delete any
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list