Remove redundant if clause

This commit is contained in:
Joe Rickerby
2019-10-12 10:44:47 +01:00
parent b0c2fd8af2
commit bfa3eebb7f
+1 -1
View File
@@ -146,7 +146,7 @@ def build(project_dir, output_dir, test_command, test_requires, test_extras, bef
# test the wheel # test the wheel
if test_requires: if test_requires:
call(['pip', 'install'] + test_requires, env=virtualenv_env) call(['pip', 'install'] + test_requires, env=virtualenv_env)
if test_command:
# run the tests from $HOME, with an absolute path in the command # run the tests from $HOME, with an absolute path in the command
# (this ensures that Python runs the tests against the installed wheel # (this ensures that Python runs the tests against the installed wheel
# and not the repo code) # and not the repo code)