Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix double-negation in scripts/run_python_e2e_test.py #1896

Merged
merged 2 commits into from
Apr 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scripts/run_python_e2e_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def main() -> None:
print(f"rerun-sdk built in {elapsed:.1f} seconds")
print("")

if parser.parse_args().no_pip_reqs:
if not parser.parse_args().no_pip_reqs:
requirements = [
"examples/python/api_demo/requirements.txt",
"examples/python/car/requirements.txt",
Expand All @@ -53,6 +53,7 @@ def main() -> None:
start_time = time.time()
for requirement in requirements:
subprocess.run(["pip", "install", "--quiet", "-r", requirement], check=True)
elapsed = time.time() - start_time
print(f"pip install in {elapsed:.1f} seconds")
print("")

Expand Down