]> granicus.if.org Git - python/commitdiff
Document the fact that the 'test' package is meant only for use by Python
authorBrett Cannon <bcannon@gmail.com>
Fri, 23 Jul 2010 11:31:31 +0000 (11:31 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 23 Jul 2010 11:31:31 +0000 (11:31 +0000)
itself and not by others.

Closes issue 9255.

Doc/library/test.rst
Misc/NEWS

index 3b9ad104d8b4c764c737944b45a191e6fec885dd..d6ff734b8ba16c948bbdbc4036d36c17ca98e194 100644 (file)
@@ -5,6 +5,13 @@
    :synopsis: Regression tests package containing the testing suite for Python.
 .. sectionauthor:: Brett Cannon <brett@python.org>
 
+.. note::
+    The :mod:`test` package is meant for internal use by Python only. It is
+    documented for the benefit of the core developers of Python. Any use of
+    this package outside of Python's standard library is discouraged as code
+    mentioned here can change or be removed without notice between releases of
+    Python.
+
 
 The :mod:`test` package contains all regression tests for Python as well as the
 modules :mod:`test.support` and :mod:`test.regrtest`.
index ef7988f1f68f942fb7bbc0137f4497ae8e58d6c2..6cf5a7dc8c543855f6a9d99164317b1c4f14bfdc 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1655,6 +1655,9 @@ Build
 Documentation
 ------------
 
+- Issue 9255: Document that the 'test' package is meant for internal Python use
+  only.
+
 - A small wsgi server was added as Tools/scripts/serve.py, and is used to
   implement a local documentation server via 'make serve' in the doc directory.