Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
17565e5b
Commit
17565e5b
authored
Sep 27, 2009
by
Michael Foord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation improvement for load_tests protocol in unittest. Issue 6515.
parent
d6aabcfe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
Doc/library/unittest.rst
Doc/library/unittest.rst
+5
-0
No files found.
Doc/library/unittest.rst
View file @
17565e5b
...
...
@@ -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``.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment