From c52a615fbf084a95a36ee913840ae28e490ef55a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Herv=C3=A9?= Date: Tue, 10 Oct 2023 11:50:30 +0200 Subject: [PATCH] Remove tracer custom setup (#1713) This doesn't work in 2.x and we use PYTEST_ADDOPTS anyway. --- tests/conftest.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index a65014851d..64320a7e91 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -12,16 +12,6 @@ try: from ddtrace import patch, tracer - if RECORD != "none": - from ddtrace.internal.writer import AgentWriter - - writer = AgentWriter( - tracer._writer.agent_url, - sync_mode=True, - priority_sampler=tracer._priority_sampler, - ) - tracer.configure(writer) - patch(urllib3=True) from pytest import hookimpl