aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_protocol_http2.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_protocol_http2.py')
-rw-r--r--test/test_protocol_http2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_protocol_http2.py b/test/test_protocol_http2.py
index dce8c5da..cc62f734 100644
--- a/test/test_protocol_http2.py
+++ b/test/test_protocol_http2.py
@@ -384,6 +384,6 @@ class TestPushPromise(_Http2TestBase, _Http2ServerBase):
client.wfile.flush()
bodies = [flow.response.body for flow in self.master.state.flows if flow.response]
- assert len(bodies) == 3
+ assert len(bodies) >= 1
assert b'regular_stream' in bodies
# the other two bodies might not be transmitted before the reset