]> granicus.if.org Git - python/commitdiff
Documentation improvement for load_tests protocol in unittest. Issue 6515.
authorMichael Foord <fuzzyman@voidspace.org.uk>
Sun, 27 Sep 2009 20:08:23 +0000 (20:08 +0000)
committerMichael Foord <fuzzyman@voidspace.org.uk>
Sun, 27 Sep 2009 20:08:23 +0000 (20:08 +0000)
Doc/library/unittest.rst

index 801785da4cc18ebdebd4f07655f653207cde4519..078c339b33e3f18259821bd22afbbfe0872b1987 100644 (file)
@@ -1281,6 +1281,7 @@ Loading and running tests
       ``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 @@ Loading and running tests
 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``.