Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit c8b9bad

Browse files
committed
Fix py3 test failures.
1 parent 595d27e commit c8b9bad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_http11.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def test_response_transparently_decrypts_chunked_gzip(self):
434434

435435
data = b''
436436
for index in range(0, len(body), 2):
437-
data += '2\r\n' + body[index:index+2] + '\r\n'
437+
data += b'2\r\n' + body[index:index+2] + b'\r\n'
438438

439439
data += b'0\r\n\r\n'
440440
d._buffer = BytesIO(data)

0 commit comments

Comments
 (0)