File tree Expand file tree Collapse file tree
instrumentation/opentelemetry-instrumentation-logging/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -546,7 +546,7 @@ def test_otel_attribute_count_limit_includes_code_attributes(self):
546546
547547 def test_logging_handler_without_env_var_uses_default_limit (self ):
548548 """Test that without OTEL_ATTRIBUTE_COUNT_LIMIT, default limit (128) should apply."""
549- processor , logger , handler = set_up_test_logging (logging .WARNING )
549+ processor , logger , _ = set_up_test_logging (logging .WARNING )
550550
551551 # Create a log record with many attributes (more than default limit of 128)
552552 extra_attrs = {f"attr_{ i } " : f"value_{ i } " for i in range (150 )}
@@ -574,6 +574,7 @@ def test_logging_handler_without_env_var_uses_default_limit(self):
574574 )
575575
576576
577+ # pylint: disable=invalid-name
577578class SetupLoggingHandlerTestCase (unittest .TestCase ):
578579 def test_basicConfig_works_with_otel_handler (self ):
579580 logger_provider = LoggerProvider ()
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ def get_tracer( # pylint: disable=no-self-use
4242 )
4343
4444
45+ # pylint: disable=no-self-use,too-many-public-methods
4546class TestLoggingInstrumentorProxyTracerProvider (TestBase ):
4647 @pytest .fixture (autouse = True )
4748 def inject_fixtures (self , caplog ):
You can’t perform that action at this time.
0 commit comments