[Python-checkins] r75098 - python/trunk/Doc/library/unittest.rst

michael.foord python-checkins at python.org
Sun Sep 27 22:08:23 CEST 2009


Author: michael.foord
Date: Sun Sep 27 22:08:23 2009
New Revision: 75098

Log:
Documentation improvement for load_tests protocol in unittest. Issue 6515.

Modified:
   python/trunk/Doc/library/unittest.rst

Modified: python/trunk/Doc/library/unittest.rst
==============================================================================
--- python/trunk/Doc/library/unittest.rst	(original)
+++ python/trunk/Doc/library/unittest.rst	Sun Sep 27 22:08:23 2009
@@ -1281,6 +1281,7 @@
       ``load_tests`` does not need to pass this argument in to
       ``loader.discover()``.
 
+      .. versionadded:: 2.7
 
    The following attributes of a :class:`TestLoader` can be configured either by
    subclassing or assignment on an instance:
@@ -1545,6 +1546,10 @@
 load_tests Protocol
 ###################
 
+
+.. versionadded:: 2.7
+
+
 Modules or packages can customize how tests are loaded from them during normal
 test runs or test discovery by implementing a function called ``load_tests``.
 


More information about the Python-checkins mailing list