Skip to content

Commit

Permalink
Remove tracer custom setup (#1713)
Browse files Browse the repository at this point in the history
This doesn't work in 2.x and we use PYTEST_ADDOPTS anyway.
  • Loading branch information
therve authored Oct 10, 2023
1 parent 126bfcc commit c52a615
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c52a615

Please sign in to comment.