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

Commit 265a0fc

Browse files
committed
Fix test error with END_STREAM flag placement.
1 parent 0e166a0 commit 265a0fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_hyper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,9 +375,10 @@ def test_headers_with_continuation(self):
375375
)
376376
h = HeadersFrame(1)
377377
h.data = header_data[0:int(len(header_data)/2)]
378+
h.flags.add('END_STREAM')
378379
c = ContinuationFrame(1)
379380
c.data = header_data[int(len(header_data)/2):]
380-
c.flags |= set(['END_HEADERS', 'END_STREAM'])
381+
c.flags.add('END_HEADERS')
381382
sock = DummySocket()
382383
sock.buffer = BytesIO(h.serialize() + c.serialize())
383384

0 commit comments

Comments
 (0)