We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a9523b commit 676de71Copy full SHA for 676de71
tests/conftest.py
@@ -135,11 +135,11 @@ def pytest_configure():
135
mamba_cmd = "micromamba"
136
try:
137
subprocess.run(["which", mamba_cmd], check=True)
138
- except subprocess.CalledProcessError:
+ except (subprocess.CalledProcessError, FileNotFoundError):
139
mamba_cmd = "mamba"
140
141
142
143
pytest.mamba_cmd = None
144
145
pytest.mamba_cmd = mamba_cmd
0 commit comments