Update scaffold.py

This commit is contained in:
Pedro Torcatt 2021-09-22 12:52:30 -04:00 committed by GitHub
parent ec97d6cbf2
commit 92402ccf2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -591,8 +591,8 @@ class Scaffold:
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.
will have to surround the execution of that code with try/except
statements and log any errors.
When a teardown function was called because of an exception it will
be passed an error object.