Skip to content

Commit c3893a8

Browse files
committed
lint fix
1 parent 286d68c commit c3893a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws-opentelemetry-distro/tests/amazon/opentelemetry/distro/patches/test_starlette_patches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class MockStarletteInstrumentor(metaclass=ErrorMeta):
111111
args = mock_logger.warning.call_args[0]
112112
self.assertIn("Failed to apply Starlette instrumentation patches", args[0])
113113

114-
def test_starlette_patch_logs_failure_with_no_logger_patch(self):
114+
def test_starlette_patch_logs_failure_with_no_logger_patch(self): # pylint: disable=no-self-use
115115
"""Test that the patch handles exceptions gracefully without logger mock."""
116116
# Mock the import to fail
117117
with patch.dict("sys.modules", {"opentelemetry.instrumentation.starlette": None}):

0 commit comments

Comments
 (0)