We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3aefd4d commit 8ef96f6Copy full SHA for 8ef96f6
instrumentation/opentelemetry-instrumentation-wsgi/tests/test_wsgi_middleware.py
@@ -495,8 +495,8 @@ def test_custom_request_headers_non_recording_span(self):
495
)
496
response = app(self.environ, self.start_response)
497
self.iterate_response(response)
498
- except Exception as e:
499
- self.fail(f"Exception raised with NonRecordingSpan {e}")
+ except Exception as exc: # pylint: disable=W0703
+ self.fail(f"Exception raised with NonRecordingSpan {exc}")
500
501
@mock.patch.dict(
502
"os.environ",
0 commit comments