banesullivan / scooby

🐶 🕵️ Great Dane turned Python environment detective
MIT License
47 stars 12 forks source link

In tests, use sys.executable instead of assuming "python" #120

Closed musicinmybrain closed 2 weeks ago

musicinmybrain commented 2 weeks ago

This should make no difference at all in your CI, but it makes it easier to run more tests in situations where the Python interpreter might have a different name, e.g. python3 in some Linux distributions. (I am working on a python-scooby package for Fedora.)

https://docs.python.org/3/library/sys.html#sys.executable