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 e7ef853 commit c99efafCopy full SHA for c99efaf
tests/conftest.py
@@ -1,6 +1,7 @@
1
from __future__ import annotations
2
3
import importlib.util
4
+import os
5
import shutil
6
import sys
7
from contextlib import contextmanager
@@ -32,7 +33,9 @@
32
33
34
IS_VALGRIND_INSTALLED = shutil.which("valgrind") is not None
35
skip_without_valgrind = pytest.mark.skipif(
- not IS_VALGRIND_INSTALLED, reason="valgrind not installed"
36
+ "PYTEST_CODSPEED_FORCE_VALGRIND_TESTS" not in os.environ
37
+ and not IS_VALGRIND_INSTALLED,
38
+ reason="valgrind not installed",
39
)
40
41
if IS_VALGRIND_INSTALLED:
tests/examples/__init__.py
0 commit comments