diff --git a/tests/integrations/quart/test_quart.py b/tests/integrations/quart/test_quart.py index e61095b786..771fc5ee04 100644 --- a/tests/integrations/quart/test_quart.py +++ b/tests/integrations/quart/test_quart.py @@ -407,8 +407,9 @@ async def error_handler(err): client = app.test_client() - if QUART_VERSION >= (0, 21, 0): - # Exception propagation behavior changed in 0.21.0 + if QUART_VERSION >= (0, 21, 0) and QUART_VERSION < (0, 22, 0): + # Exception propagation behavior changed in 0.21.0, and was reverted + # back in 0.22.0 await client.get("/") (event,) = events