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

Commit 005e406

Browse files
committed
Fixup minor test breakage.
1 parent 7a564b3 commit 005e406

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/test_hyper.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,16 +214,12 @@ def test_request_with_utf8_bytes_body(self):
214214
body = '你好' if is_py2 else '你好'.encode('utf-8')
215215
c.request('GET', '/', body=body)
216216

217-
assert c._out_flow_control_window == 65535 - len(body)
218-
219217
def test_request_with_unicode_body(self):
220218
c = HTTP20Connection('www.google.com')
221219
c._sock = DummySocket()
222220
body = '你好'.decode('unicode-escape') if is_py2 else '你好'
223221
c.request('GET', '/', body=body)
224222

225-
assert c._out_flow_control_window == 65535 - len(body.encode('utf-8'))
226-
227223
def test_different_request_headers(self):
228224
sock = DummySocket()
229225

0 commit comments

Comments
 (0)