Update scaffold.py

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

View file

@ -589,7 +589,7 @@ 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, because 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 these code by try/except
statements and log occurring errors. statements and log occurring errors.