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 | 5a9aed6e210628d16cd446c163fa50c9841dba34 (patch) | |
tree | 5f7d4c7d0c9da3ca16503eaa358bd5f66e676e96 /setuptools/command/test.py | |
parent | 8223f2804628034993247add70943888d96d6348 (diff) | |
download | python-setuptools-git-5a9aed6e210628d16cd446c163fa50c9841dba34.tar.gz |
Accept a pattern argument, supplied by later versions of unittest.
Diffstat (limited to 'setuptools/command/test.py')
-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. |