summaryrefslogtreecommitdiff
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
commit435c469d7a1882a28f99851c7f94f5219c9d2900 (patch)
tree58fd8fb6bf31e90dd38baf94e43556689225cabf
parent66a9cc535ea5c5616302d40910c8f3e2840d157a (diff)
downloadpython-setuptools-bitbucket-435c469d7a1882a28f99851c7f94f5219c9d2900.tar.gz
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.