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 338ebfe commit 6a466f4Copy full SHA for 6a466f4
array_api_strict/tests/conftest.py
@@ -4,7 +4,7 @@
4
5
import pytest
6
7
-def pytest_sessionstart(session):
+def pytest_configure(config):
8
for env_var in ENVIRONMENT_VARIABLES:
9
if env_var in os.environ:
10
pytest.exit(f"ERROR: {env_var} is set. array-api-strict environment variables must not be set when the tests are run.")
0 commit comments