r75098 - python/trunk/Doc/library/unittest.rst
![](https://secure.gravatar.com/avatar/8ac615df352a970211b0e3d94a307c6d.jpg?s=120&d=mm&r=g)
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``.
participants (1)
-
michael.foord