Skip to content

Commit

Permalink
Try to fix 3.12 issues with kafka test
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenchrist committed Mar 1, 2024
1 parent a437769 commit 662d8c5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/test_examples_kafka.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import sys

import six

if sys.version_info >= (3, 12, 1):
sys.modules['kafka.vendor.six.moves'] = six.moves


import json
import logging
import os

import pytest
from kafka import KafkaProducer
Expand Down

0 comments on commit 662d8c5

Please sign in to comment.