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 286d68c commit c3893a8Copy full SHA for c3893a8
aws-opentelemetry-distro/tests/amazon/opentelemetry/distro/patches/test_starlette_patches.py
@@ -111,7 +111,7 @@ class MockStarletteInstrumentor(metaclass=ErrorMeta):
111
args = mock_logger.warning.call_args[0]
112
self.assertIn("Failed to apply Starlette instrumentation patches", args[0])
113
114
- def test_starlette_patch_logs_failure_with_no_logger_patch(self):
+ def test_starlette_patch_logs_failure_with_no_logger_patch(self): # pylint: disable=no-self-use
115
"""Test that the patch handles exceptions gracefully without logger mock."""
116
# Mock the import to fail
117
with patch.dict("sys.modules", {"opentelemetry.instrumentation.starlette": None}):
0 commit comments