Skip to content

Commit 7a0e9f6

Browse files
committed
py2 test fixups
1 parent 4122c1f commit 7a0e9f6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

test/integration/__init__.py

Whitespace-only changes.

test/test_sender.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
import time
77

88
import pytest
9-
from unittest.mock import call
9+
try:
10+
from unittest.mock import call
11+
except ImportError:
12+
from mock import call
1013

1114
from kafka.vendor import six
1215

0 commit comments

Comments
 (0)