diff options
author | Taras Voinarovskyi <voyn1991@gmail.com> | 2017-09-13 22:03:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-13 22:03:51 +0300 |
commit | b1ae45c10d46e881492b0fd37f0919cac6d79224 (patch) | |
tree | 2dd4f71b4c841bea4662c3926848c296666280e1 /test/test_conn.py | |
parent | 71efe2c2be3bd9729ec02df6bd6ce1b0cd6b4eba (diff) | |
parent | 84aec293f7074b4fe46741cd2be694d1efd91386 (diff) | |
download | kafka-python-b1ae45c10d46e881492b0fd37f0919cac6d79224.tar.gz |
Merge pull request #1213 from dpkp/1212-stop-using-mutable-types-for-default-arg-values
Stop using mutable types for default arg values
Diffstat (limited to 'test/test_conn.py')
-rw-r--r-- | test/test_conn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_conn.py b/test/test_conn.py index 2c418d4..1621e60 100644 --- a/test/test_conn.py +++ b/test/test_conn.py @@ -113,7 +113,7 @@ def test_send_max_ifr(conn): def test_send_no_response(_socket, conn): conn.connect() assert conn.state is ConnectionStates.CONNECTED - req = ProduceRequest[0](required_acks=0, timeout=0, topics=[]) + req = ProduceRequest[0](required_acks=0, timeout=0, topics=()) header = RequestHeader(req, client_id=conn.config['client_id']) payload_bytes = len(header.encode()) + len(req.encode()) third = payload_bytes // 3 |