From 9c9bfb0fc0f1f667bdabf220e939349143e0d9ec Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 10 Oct 2015 20:17:37 -0400 Subject: Re-use _argv for the announcement --- setuptools/command/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'setuptools/command') 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): -- cgit v1.2.3