Skip to content

Commit ce98e98

Browse files
committed
test(profiling): focus Echion address reuse regression
1 parent b69f8b5 commit ce98e98

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

tests/profiling/collector/test_stack.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,10 @@ def test_code_object_address_reuse_does_not_return_stale_frame() -> None:
161161
from types import FunctionType
162162
import weakref
163163

164-
import _interpreters
165-
166164
from ddtrace.internal.datadog.profiling import ddup
167165
from ddtrace.profiling.collector import stack
168166
from tests.profiling.collector import pprof_utils
169167

170-
interpreter = _interpreters.create("legacy")
171168
test_name = "test_code_object_address_reuse_does_not_return_stale_frame"
172169
tmp_path = Path(tempfile.mkdtemp(prefix=test_name))
173170
pprof_prefix = str(tmp_path / test_name)
@@ -218,7 +215,6 @@ def make_function(name: str):
218215
}
219216
assert replacement_name in sampled_names
220217
assert old_name not in sampled_names
221-
_interpreters.destroy(interpreter)
222218

223219

224220
def test_push_span(tmp_path: Path, tracer: Tracer) -> None:

0 commit comments

Comments
 (0)