mirror of https://github.com/pallets/flask.git
Fix grammatical error (#4268)
* Fix grammatical error * Update scaffold.py * Update scaffold.py
This commit is contained in:
parent
24aab7a08d
commit
aa1d34dc51
|
|
@ -589,10 +589,10 @@ class Scaffold:
|
||||||
stack of active contexts. This becomes relevant if you are using
|
stack of active contexts. This becomes relevant if you are using
|
||||||
such constructs in tests.
|
such constructs in tests.
|
||||||
|
|
||||||
Teardown functions must avoid raising exceptions, since they . If they
|
Teardown functions must avoid raising exceptions. If
|
||||||
execute code that might fail they
|
they execute code that might fail they
|
||||||
will have to surround the execution of these code by try/except
|
will have to surround the execution of that code with try/except
|
||||||
statements and log occurring errors.
|
statements and log any errors.
|
||||||
|
|
||||||
When a teardown function was called because of an exception it will
|
When a teardown function was called because of an exception it will
|
||||||
be passed an error object.
|
be passed an error object.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue