From 196749d4abb75beb06a69fde59d6c5eb2dec2c0d Mon Sep 17 00:00:00 2001 From: Kevin Zheng Date: Thu, 9 May 2024 15:30:16 +0000 Subject: [PATCH] linting + removed print statements --- tests/unit/handlers/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/unit/handlers/__init__.py b/tests/unit/handlers/__init__.py index 9da321078..32eba185f 100644 --- a/tests/unit/handlers/__init__.py +++ b/tests/unit/handlers/__init__.py @@ -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)