diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-10-10 20:40:47 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-10-10 20:40:47 -0400 |
commit | 435c469d7a1882a28f99851c7f94f5219c9d2900 (patch) | |
tree | 58fd8fb6bf31e90dd38baf94e43556689225cabf | |
parent | 66a9cc535ea5c5616302d40910c8f3e2840d157a (diff) | |
download | python-setuptools-bitbucket-435c469d7a1882a28f99851c7f94f5219c9d2900.tar.gz |
Accept a pattern argument, supplied by later versions of unittest.
-rw-r--r-- | setuptools/command/test.py | 2 |
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. |