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
6c78f553
Commit
6c78f553
authored
May 21, 2008
by
Thomas Heller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Oops, get_tests may be called with 3 arguments.
parent
7d9e7215
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Lib/ctypes/test/__init__.py
Lib/ctypes/test/__init__.py
+1
-1
Lib/ctypes/test/runtests.py
Lib/ctypes/test/runtests.py
+2
-0
No files found.
Lib/ctypes/test/__init__.py
View file @
6c78f553
...
...
@@ -50,7 +50,7 @@ def find_package_modules(package, mask):
if
fnmatch
.
fnmatchcase
(
fnm
,
mask
):
yield
"%s.%s"
%
(
package
.
__name__
,
os
.
path
.
splitext
(
fnm
)[
0
])
def
get_tests
(
package
,
mask
,
verbosity
,
exclude
):
def
get_tests
(
package
,
mask
,
verbosity
,
exclude
=
()
):
"""Return a list of skipped test modules, and a list of test cases."""
tests
=
[]
skipped
=
[]
...
...
Lib/ctypes/test/runtests.py
View file @
6c78f553
...
...
@@ -8,6 +8,8 @@ Command line flags:
Add resources to the lits of allowed resources. '*' allows all
resources.
-v verbose mode: print the test currently executed
-x<test1[,test2...]>
Exclude specified tests.
mask mask to select filenames containing testcases, wildcards allowed
"""
import
sys
...
...
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