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

Commit 4f20938

Browse files
committed
Cover NPN failures on Python 3.3.
1 parent e12e0de commit 4f20938

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/test_integration.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
hyper.tls._context = hyper.tls._init_context()
3030
hyper.tls._context.check_hostname = False
3131
hyper.tls._context.verify_mode = ssl.CERT_NONE
32-
hyper.http20.connection.H2_NPN_PROTOCOLS += ['']
32+
33+
# Cover our bases because NPN doesn't yet work on all our test platforms.
34+
hyper.http20.connection.H2_NPN_PROTOCOLS += ['', None]
3335

3436
def decode_frame(frame_data):
3537
f, length = Frame.parse_frame_header(frame_data[:9])

0 commit comments

Comments
 (0)