aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-10-10 20:40:47 -0400
committerJason R. Coombs <jaraco@jaraco.com>2015-10-10 20:40:47 -0400
commit5a9aed6e210628d16cd446c163fa50c9841dba34 (patch)
tree5f7d4c7d0c9da3ca16503eaa358bd5f66e676e96
parent8223f2804628034993247add70943888d96d6348 (diff)
downloadexternal_python_setuptools-5a9aed6e210628d16cd446c163fa50c9841dba34.tar.gz
external_python_setuptools-5a9aed6e210628d16cd446c163fa50c9841dba34.tar.bz2
external_python_setuptools-5a9aed6e210628d16cd446c163fa50c9841dba34.zip
Accept a pattern argument, supplied by later versions of unittest.
-rw-r--r--setuptools/command/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/test.py b/setuptools/command/test.py
index 11e4a019..13b8b46b 100644
--- a/setuptools/command/test.py
+++ b/setuptools/command/test.py
@@ -11,7 +11,7 @@ from setuptools.py31compat import unittest_main
class ScanningLoader(TestLoader):
- def loadTestsFromModule(self, module):
+ def loadTestsFromModule(self, module, pattern=None):
"""Return a suite of all tests cases contained in the given module
If the module is a package, load tests from all the modules in it.