diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-10-10 20:16:23 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-10-10 20:16:23 -0400 |
commit | 0f14cd9c52944d924c7d9ac350e4f904b0edb0af (patch) | |
tree | 1e4cb5cc2fecbe24ea742e34f8403260f169f684 /setuptools/command/test.py | |
parent | 476381578991476afeca2e28a96b51fdbef50c13 (diff) | |
download | external_python_setuptools-0f14cd9c52944d924c7d9ac350e4f904b0edb0af.tar.gz external_python_setuptools-0f14cd9c52944d924c7d9ac350e4f904b0edb0af.tar.bz2 external_python_setuptools-0f14cd9c52944d924c7d9ac350e4f904b0edb0af.zip |
Extract _argv property.
Diffstat (limited to 'setuptools/command/test.py')
-rw-r--r-- | setuptools/command/test.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/setuptools/command/test.py b/setuptools/command/test.py index 5f93d92e..549cfb21 100644 --- a/setuptools/command/test.py +++ b/setuptools/command/test.py @@ -158,11 +158,15 @@ class test(Command): list(map(sys.modules.__delitem__, del_modules)) unittest_main( - None, None, ['unittest'] + self.test_args, + None, None, self._argv, testLoader=self._resolve_as_ep(self.test_loader), testRunner=self._resolve_as_ep(self.test_runner), ) + @property + def _argv(self): + return ['unittest'] + self.test_args + @staticmethod def _resolve_as_ep(val): """ |