aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/test.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-10-10 20:17:37 -0400
committerJason R. Coombs <jaraco@jaraco.com>2015-10-10 20:17:37 -0400
commit9c9bfb0fc0f1f667bdabf220e939349143e0d9ec (patch)
treeaaa13fd7a4ee6fbc9ef8bcad2849857ce0afa21f /setuptools/command/test.py
parent0f14cd9c52944d924c7d9ac350e4f904b0edb0af (diff)
downloadexternal_python_setuptools-9c9bfb0fc0f1f667bdabf220e939349143e0d9ec.tar.gz
external_python_setuptools-9c9bfb0fc0f1f667bdabf220e939349143e0d9ec.tar.bz2
external_python_setuptools-9c9bfb0fc0f1f667bdabf220e939349143e0d9ec.zip
Re-use _argv for the announcement
Diffstat (limited to 'setuptools/command/test.py')
-rw-r--r--setuptools/command/test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/command/test.py b/setuptools/command/test.py
index 549cfb21..75d55bad 100644
--- a/setuptools/command/test.py
+++ b/setuptools/command/test.py
@@ -134,11 +134,11 @@ class test(Command):
self.distribution.fetch_build_eggs(self.distribution.tests_require)
if self.test_suite:
- cmd = ' '.join(self.test_args)
+ cmd = ' '.join(self._argv)
if self.dry_run:
- self.announce('skipping "unittest %s" (dry run)' % cmd)
+ self.announce('skipping "%s" (dry run)' % cmd)
else:
- self.announce('running "unittest %s"' % cmd)
+ self.announce('running "%s"' % cmd)
self.with_project_on_sys_path(self.run_tests)
def run_tests(self):