Update scaffold.py
This commit is contained in:
parent
ec97d6cbf2
commit
92402ccf2b
1 changed files with 2 additions and 2 deletions
|
|
@ -591,8 +591,8 @@ class Scaffold:
|
||||||
|
|
||||||
Teardown functions must avoid raising exceptions. If
|
Teardown functions must avoid raising exceptions. If
|
||||||
they 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…
Add table
Add a link
Reference in a new issue