aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/test.py
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
commit63140936955baeaf8390ddad115af1947787f37f (patch)
tree8349f9f3b1e107d7105224539ceb3e7295d12c30 /setuptools/command/test.py
parent34910765fbafb53bec6604b730875d010a863ae2 (diff)
downloadexternal_python_setuptools-63140936955baeaf8390ddad115af1947787f37f.tar.gz
external_python_setuptools-63140936955baeaf8390ddad115af1947787f37f.tar.bz2
external_python_setuptools-63140936955baeaf8390ddad115af1947787f37f.zip
Remove unreachable branch.
Diffstat (limited to 'setuptools/command/test.py')
-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