From 4e34e93b845af6ad54f6a3b39b85d290be09f016 Mon Sep 17 00:00:00 2001 From: Ivana Kellyer Date: Mon, 24 Aug 2026 09:48:10 +0200 Subject: [PATCH] fix quart revert --- tests/integrations/quart/test_quart.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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