Skip to content

Commit c52a615

Browse files
authored
Remove tracer custom setup (#1713)
This doesn't work in 2.x and we use PYTEST_ADDOPTS anyway.
1 parent 126bfcc commit c52a615

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/conftest.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,6 @@
1212
try:
1313
from ddtrace import patch, tracer
1414

15-
if RECORD != "none":
16-
from ddtrace.internal.writer import AgentWriter
17-
18-
writer = AgentWriter(
19-
tracer._writer.agent_url,
20-
sync_mode=True,
21-
priority_sampler=tracer._priority_sampler,
22-
)
23-
tracer.configure(writer)
24-
2515
patch(urllib3=True)
2616

2717
from pytest import hookimpl

0 commit comments

Comments
 (0)