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)