Skip to content

Commit a10e230

Browse files
committed
Flake8 reformatting
1 parent ccb42a0 commit a10e230

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

ext/opentelemetry-ext-asgi/src/opentelemetry/ext/asgi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ async def __call__(self, scope, receive, send):
163163
parent_span,
164164
kind=trace.SpanKind.SERVER,
165165
attributes=collect_request_attributes(scope),
166-
) as connection_span:
166+
):
167167

168168
@wraps(receive)
169169
async def wrapped_receive():

ext/opentelemetry-ext-asgi/tests/test_asgi_middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def test_basic_asgi_call(self):
137137
outputs = self.get_all_output()
138138
self.validate_outputs(outputs)
139139

140-
def test_wsgi_exc_info(self):
140+
def test_asgi_exc_info(self):
141141
app = otel_asgi.OpenTelemetryMiddleware(error_asgi)
142142
self.seed_app(app)
143143
self.send_default_request()

ext/opentelemetry-ext-testutil/src/opentelemetry/ext/testutil/asgitestutil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ def get_all_output(self):
5757
while True:
5858
try:
5959
outputs.append(self.get_output())
60-
except asyncio.TimeoutError as e:
60+
except asyncio.TimeoutError:
6161
break
6262
return outputs

0 commit comments

Comments
 (0)