Skip to content

Commit fd6a0be

Browse files
committed
fix linting issues found by flake8 in test_botocore_instrumentation
1 parent 10b444e commit fd6a0be

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Diff for: instrumentation/opentelemetry-instrumentation-botocore/tests/test_botocore_instrumentation.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
from opentelemetry.semconv.trace import SpanAttributes
4141
from opentelemetry.test.mock_textmap import MockTextMapPropagator
4242
from opentelemetry.test.test_base import TestBase
43-
from opentelemetry.trace.span import Span, format_span_id, format_trace_id
43+
from opentelemetry.trace.span import format_span_id, format_trace_id
4444

4545
_REQUEST_ID_REGEX_MATCH = r"[A-Z0-9]{52}"
4646

@@ -336,9 +336,6 @@ def check_headers(**kwargs):
336336
ec2.describe_instances()
337337

338338
request_id = "fdcdcab1-ae5c-489e-9c33-4637c5dda355"
339-
span = self.assert_span(
340-
"EC2", "DescribeInstances", request_id=request_id
341-
)
342339

343340
self.assertNotIn(MockTextMapPropagator.TRACE_ID_KEY, headers)
344341
self.assertNotIn(MockTextMapPropagator.SPAN_ID_KEY, headers)

0 commit comments

Comments
 (0)