summaryrefslogtreecommitdiff
path: root/setuptools/command
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-10-10 20:41:50 -0400
committerJason R. Coombs <jaraco@jaraco.com>2015-10-10 20:41:50 -0400
commit897c6cfd0e081a7c8ecf52b721d140ff0451df0e (patch)
tree77e0c461b4aa72c81f84fdba54f53f55c6d71a2c /setuptools/command
parentb852bc9ba28d0586d8e6f41a347d6a6415c29cf8 (diff)
downloadpython-setuptools-bitbucket-897c6cfd0e081a7c8ecf52b721d140ff0451df0e.tar.gz
Remove unreachable branch.
Diffstat (limited to 'setuptools/command')
-rw-r--r--setuptools/command/test.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/setuptools/command/test.py b/setuptools/command/test.py
index 9c6a8e04..160e21c9 100644
--- a/setuptools/command/test.py
+++ b/setuptools/command/test.py
@@ -138,13 +138,12 @@ class test(Command):
if self.distribution.tests_require:
self.distribution.fetch_build_eggs(self.distribution.tests_require)
- if True:
- cmd = ' '.join(self._argv)
- if self.dry_run:
- self.announce('skipping "%s" (dry run)' % cmd)
- else:
- self.announce('running "%s"' % cmd)
- self.with_project_on_sys_path(self.run_tests)
+ cmd = ' '.join(self._argv)
+ if self.dry_run:
+ self.announce('skipping "%s" (dry run)' % cmd)
+ else:
+ self.announce('running "%s"' % cmd)
+ self.with_project_on_sys_path(self.run_tests)
def run_tests(self):
# Purge modules under test from sys.modules. The test loader will