Skip to content

Commit

Permalink
fix stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
mabdinur authored Feb 3, 2025
1 parent 3ec7181 commit 963bece
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ddtrace/_trace/tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def __init__(
Tracer._instance = self
else:
ValueError(
"Multiple Tracer instances can not be iniitalized. Use ddtrace.trace.tracer instead.",
"Multiple Tracer instances can not be initialized. Use ``ddtrace.trace.tracer`` instead.",
)

self._user_trace_processors: List[TraceProcessor] = []
Expand Down
4 changes: 2 additions & 2 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,9 +650,9 @@ def configure(self, *args, **kwargs):
self._configure(*args, **kwargs)

def _configure(self, *args, **kwargs):
assert "writer" in kwargs and not isinstance(
assert not("writer" in kwargs and not isinstance(
kwargs["writer"], DummyWriterMixin
), "cannot configure writer of DummyTracer"
)), "cannot configure writer of DummyTracer"

if not kwargs.get("writer"):
# if no writer is present, check if test agent is running to determine if we
Expand Down

0 comments on commit 963bece

Please sign in to comment.