aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/test.py')
-rw-r--r--setuptools/command/test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/setuptools/command/test.py b/setuptools/command/test.py
index 638d0c56..523407fd 100644
--- a/setuptools/command/test.py
+++ b/setuptools/command/test.py
@@ -101,6 +101,8 @@ class test(Command):
return list(self._test_args())
def _test_args(self):
+ if not self.test_suite:
+ yield 'discover'
if self.verbose:
yield '--verbose'
if self.test_suite: