Skip to content

Commit

Permalink
linting + removed print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
gkevinzheng committed May 9, 2024
1 parent 64766ed commit 196749d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/unit/handlers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ def _setup_otel_span_context():
tracer = opentelemetry.trace.NoOpTracer()
token = opentelemetry.context.attach(ctx)
try:
with tracer.start_as_current_span("test-span", context=ctx) as span:
print("testubg 123")
print(opentelemetry.trace.get_current_span().get_span_context().span_id)
with tracer.start_as_current_span("test-span", context=ctx):
yield
finally:
opentelemetry.context.detach(token)

0 comments on commit 196749d

Please sign in to comment.