diff options
| author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-07-12 19:55:28 +0200 |
|---|---|---|
| committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-07-12 19:55:28 +0200 |
| commit | 3579c6dd43529595ce1a37d96f19a446419c6ee5 (patch) | |
| tree | ad04640d9dc2ae891e8e33599e90d11f609d7f8f | |
| parent | 9267b2b5013f76ad8183719543590f9df124bdb8 (diff) | |
| download | mitmproxy-3579c6dd43529595ce1a37d96f19a446419c6ee5.tar.gz mitmproxy-3579c6dd43529595ce1a37d96f19a446419c6ee5.tar.bz2 mitmproxy-3579c6dd43529595ce1a37d96f19a446419c6ee5.zip | |
http2: fix race-condition in tests
| -rw-r--r-- | test/mitmproxy/test_protocol_http2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mitmproxy/test_protocol_http2.py b/test/mitmproxy/test_protocol_http2.py index cb7cebca..a100ac2d 100644 --- a/test/mitmproxy/test_protocol_http2.py +++ b/test/mitmproxy/test_protocol_http2.py @@ -192,7 +192,7 @@ class TestSimple(_Http2Test): elif isinstance(event, h2.events.RequestReceived): assert (b'client-foo', b'client-bar-1') in event.headers assert (b'client-foo', b'client-bar-2') in event.headers - + elif isinstance(event, h2.events.StreamEnded): import warnings with warnings.catch_warnings(): # Ignore UnicodeWarning: |
