aboutsummaryrefslogtreecommitdiffstats
path: root/test/http/http2/test_frames.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/http/http2/test_frames.py')
-rw-r--r--test/http/http2/test_frames.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/http/http2/test_frames.py b/test/http/http2/test_frames.py
index efdb55e2..4c89b023 100644
--- a/test/http/http2/test_frames.py
+++ b/test/http/http2/test_frames.py
@@ -39,7 +39,7 @@ def test_too_large_frames():
flags=Frame.FLAG_END_STREAM,
stream_id=0x1234567,
payload='foobar' * 3000)
- tutils.raises(FrameSizeError, f.to_bytes)
+ tutils.raises(HttpSyntaxException, f.to_bytes)
def test_data_frame_to_bytes():