From ec97d6cbf2abc89906a72bffc13dff368150ed85 Mon Sep 17 00:00:00 2001 From: Pedro Torcatt Date: Wed, 22 Sep 2021 12:37:12 -0400 Subject: [PATCH] Update scaffold.py --- src/flask/scaffold.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flask/scaffold.py b/src/flask/scaffold.py index cbe76cb1..ec9b3b74 100644 --- a/src/flask/scaffold.py +++ b/src/flask/scaffold.py @@ -589,7 +589,7 @@ class Scaffold: stack of active contexts. This becomes relevant if you are using such constructs in tests. - Teardown functions must avoid raising exceptions, because if + Teardown functions must avoid raising exceptions. If they execute code that might fail they will have to surround the execution of these code by try/except statements and log occurring errors.