Skip to content

Commit 8ef96f6

Browse files
author
Alex Boten
committed
fix lint
1 parent 3aefd4d commit 8ef96f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

instrumentation/opentelemetry-instrumentation-wsgi/tests/test_wsgi_middleware.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,8 +495,8 @@ def test_custom_request_headers_non_recording_span(self):
495495
)
496496
response = app(self.environ, self.start_response)
497497
self.iterate_response(response)
498-
except Exception as e:
499-
self.fail(f"Exception raised with NonRecordingSpan {e}")
498+
except Exception as exc: # pylint: disable=W0703
499+
self.fail(f"Exception raised with NonRecordingSpan {exc}")
500500

501501
@mock.patch.dict(
502502
"os.environ",

0 commit comments

Comments
 (0)