Skip to content

Commit c37ae54

Browse files
authored
Fix test: seek() accepts one TopicPartition only (@hrchu, confluentinc#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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy