Skip to content

Commit c37ae54

Browse files
authored
Fix test: seek() accepts one TopicPartition only (@hrchu, #1065)
1 parent 1fa9c1f commit c37ae54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_Consumer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def test_any_method_after_close_throws_exception():
283283
assert ex.match('Consumer closed')
284284

285285
with pytest.raises(RuntimeError) as ex:
286-
c.seek([TopicPartition("test", 0, 0)])
286+
c.seek(TopicPartition("test", 0, 0))
287287
assert ex.match('Consumer closed')
288288

289289
with pytest.raises(RuntimeError) as ex:

0 commit comments

Comments
 (0)