We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c02b664 commit e92999aCopy full SHA for e92999a
1 file changed
src/pytest_codspeed/instruments/hooks/__init__.py
@@ -37,7 +37,7 @@ def __init__(self) -> None:
37
if self.instance == 0:
38
raise RuntimeError("Failed to initialize CodSpeed instrumentation library.")
39
40
- if SUPPORTS_PERF_TRAMPOLINE:
+ if SUPPORTS_PERF_TRAMPOLINE and not sys.is_stack_trampoline_active():
41
sys.activate_stack_trampoline("perf") # type: ignore
42
43
def __del__(self):
0 commit comments