From a5527783db3fc982f8a743788d8d37fdaaa3b033 Mon Sep 17 00:00:00 2001 From: javferrod Date: Sun, 13 Aug 2023 15:34:55 +0200 Subject: [PATCH] fix((confluent-kafka): Removed unused span_list --- .../tests/test_instrumentation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/instrumentation/opentelemetry-instrumentation-confluent-kafka/tests/test_instrumentation.py b/instrumentation/opentelemetry-instrumentation-confluent-kafka/tests/test_instrumentation.py index 8160c852d7..d7ac343dbf 100644 --- a/instrumentation/opentelemetry-instrumentation-confluent-kafka/tests/test_instrumentation.py +++ b/instrumentation/opentelemetry-instrumentation-confluent-kafka/tests/test_instrumentation.py @@ -165,7 +165,7 @@ def test_poll(self) -> None: "auto.offset.reset": "earliest", }, ) - span_list = self.memory_exporter.clear() + self.memory_exporter.clear() consumer = instrumentation.instrument_consumer(consumer) consumer.poll() consumer.poll() @@ -228,7 +228,7 @@ def test_consume(self) -> None: }, ) - span_list = self.memory_exporter.clear() + self.memory_exporter.clear() consumer = instrumentation.instrument_consumer(consumer) consumer.consume(3) consumer.consume(1)