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

Python tests are non-hermetic #116

Open
briandealwis opened this issue Apr 4, 2022 · 0 comments
Open

Python tests are non-hermetic #116

briandealwis opened this issue Apr 4, 2022 · 0 comments
Labels

Comments

@briandealwis
Copy link
Member

The python launcher uses exec.LookPath to find python in the PATH. As a result, tests fail on vanilla'ish macOS 12.3 where Python 2.7 was removed and Python 3 is only available as python3.

Since the tests don't actually launch Python, we should have the lookup be pluggable.

Workaround: create a python in the PATH before running the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant