[Python-checkins] r63523 - in python/trunk/Lib/ctypes/test: __init__.py runtests.py
thomas.heller
python-checkins at python.org
Wed May 21 21:47:51 CEST 2008
Author: thomas.heller
Date: Wed May 21 21:47:44 2008
New Revision: 63523
Log:
Oops, get_tests may be called with 3 arguments.
Modified:
python/trunk/Lib/ctypes/test/__init__.py
python/trunk/Lib/ctypes/test/runtests.py
Modified: python/trunk/Lib/ctypes/test/__init__.py
==============================================================================
--- python/trunk/Lib/ctypes/test/__init__.py (original)
+++ python/trunk/Lib/ctypes/test/__init__.py Wed May 21 21:47:44 2008
@@ -50,7 +50,7 @@
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 = []
Modified: python/trunk/Lib/ctypes/test/runtests.py
==============================================================================
--- python/trunk/Lib/ctypes/test/runtests.py (original)
+++ python/trunk/Lib/ctypes/test/runtests.py Wed May 21 21:47:44 2008
@@ -8,6 +8,8 @@
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
More information about the Python-checkins
mailing list