Skip to content

Commit 0450051

Browse files
committed
Please pylint
1 parent 750a9ec commit 0450051

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

instrumentation/opentelemetry-instrumentation-system-metrics/tests/test_system_metrics.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -869,10 +869,11 @@ def test_open_file_descriptor_count(self, mock_process_num_fds):
869869

870870

871871
class TestConfigSystemMetrics(TestBase):
872+
# pylint:disable=no-self-use
872873
def test_that_correct_config_is_read(self):
873-
for k, v in _DEFAULT_CONFIG.items():
874+
for key, value in _DEFAULT_CONFIG.items():
874875
meter_provider = MeterProvider([InMemoryMetricReader()])
875-
instrumentor = SystemMetricsInstrumentor(config={k: v})
876+
instrumentor = SystemMetricsInstrumentor(config={key: value})
876877
instrumentor.instrument(meter_provider=meter_provider)
877878
meter_provider.force_flush()
878879
instrumentor.uninstrument()

0 commit comments

Comments
 (0)