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
11ac1a82
Commit
11ac1a82
authored
Aug 24, 2015
by
Robert Collins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #22812: Fix unittest discovery examples.
Patch from Pam McA'Nulty.
parent
311c8d63
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
Doc/library/unittest.rst
Doc/library/unittest.rst
+2
-2
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Doc/library/unittest.rst
View file @
11ac1a82
...
...
@@ -286,8 +286,8 @@ The :option:`-s`, :option:`-p`, and :option:`-t` options can be passed in
as positional arguments in that order. The following two command lines
are equivalent::
python -m unittest discover -s project_directory -p
'*_test.py'
python -m unittest discover project_directory
'*_test.py'
python -m unittest discover -s project_directory -p
"*_test.py"
python -m unittest discover project_directory
"*_test.py"
As well as being a path it is possible to pass a package name, for example
``myproject.subpackage.test``, as the start directory. The package name you
...
...
Misc/ACKS
View file @
11ac1a82
...
...
@@ -880,6 +880,7 @@ Daniel May
Madison May
Lucas Maystre
Arnaud Mazin
Pam McA'Nulty
Matt McClure
Rebecca McCreary
Kirk McDonald
...
...
Misc/NEWS
View file @
11ac1a82
...
...
@@ -34,6 +34,9 @@ Core and Builtins
Library
-------
-
Issue
#
22812
:
Fix
unittest
discovery
examples
.
Patch
from
Pam
McA
'Nulty.
- Issue #23652: Make it possible to compile the select module against the
libc headers from the Linux Standard Base, which do not include some
EPOLL macros. Initial patch by Matt Frank.
...
...
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