File tree Expand file tree Collapse file tree
tests/profiling/collector Expand file tree Collapse file tree Original file line number Diff line number Diff 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
224220def test_push_span (tmp_path : Path , tracer : Tracer ) -> None :
You can’t perform that action at this time.
0 commit comments