FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test(quart): Adapt to change in behavior (#7232) · getsentry/sentry-python@7ca837a · GitHub

Commit 7ca837a

Browse files
committed
test(quart): Adapt to change in behavior (#7232)
Quart 0.22.0 [reverts](pallets/quart@7337e5f) a change that landed in 0.21.0. Adapt our test accordingly.
1 parent b9151ea commit 7ca837a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎tests/integrations/quart/test_quart.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,9 @@ async def error_handler(err):
405405

406406
client = app.test_client()
407407

408-
if QUART_VERSION >= (0, 21, 0):
409-
# Exception propagation behavior changed in 0.21.0
408+
if QUART_VERSION >= (0, 21, 0) and QUART_VERSION < (0, 22, 0):
409+
# Exception propagation behavior changed in 0.21.0, and was reverted
410+
# back in 0.22.0
410411
await client.get("/")
411412

412413
(event,) = events

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL