File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
instrumentation/opentelemetry-instrumentation-aiokafka/tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ def is_async_consume_hook_mock(obj: Any) -> bool:
266266
267267 AIOKafkaInstrumentor ().uninstrument ()
268268
269- # mock.patch is a hack for Python 3.9 see https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3880
269+ # TODO: remove mock.patch when we drop Python 3.9 support
270270 with mock .patch (
271271 "opentelemetry.instrumentation.aiokafka.iscoroutinefunction"
272272 ) as iscoro :
@@ -462,7 +462,7 @@ def is_async_produce_hook_mock(obj: Any) -> bool:
462462 return obj is async_produce_hook_mock
463463
464464 AIOKafkaInstrumentor ().uninstrument ()
465- # mock.patch is a hack for Python 3.9 see https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3880
465+ # TODO: remove mock.patch when we drop Python 3.9 support
466466 with mock .patch (
467467 "opentelemetry.instrumentation.aiokafka.iscoroutinefunction"
468468 ) as iscoro :
You can’t perform that action at this time.
0 commit comments