Commit 9c9bfb0f authored by Jason R. Coombs's avatar Jason R. Coombs

Re-use _argv for the announcement

parent 0f14cd9c
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment