From 5a14bd8c947251d1a8f848175cc3cf2b07af3411 Mon Sep 17 00:00:00 2001 From: Dana Powers Date: Tue, 5 Apr 2016 09:34:48 -0700 Subject: Update imports from kafka.common -> kafka.errors / kafka.structs --- test/test_fetcher.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test/test_fetcher.py') diff --git a/test/test_fetcher.py b/test/test_fetcher.py index a252f6c..cdd324f 100644 --- a/test/test_fetcher.py +++ b/test/test_fetcher.py @@ -4,13 +4,12 @@ from __future__ import absolute_import import pytest from kafka.client_async import KafkaClient -from kafka.common import TopicPartition, OffsetAndMetadata from kafka.consumer.fetcher import Fetcher from kafka.consumer.subscription_state import SubscriptionState +import kafka.errors as Errors from kafka.future import Future from kafka.protocol.fetch import FetchRequest - -import kafka.common as Errors +from kafka.structs import TopicPartition, OffsetAndMetadata @pytest.fixture -- cgit v1.2.1