Fix finalize call

This commit is contained in:
Bruno Oliveira 2018-07-11 20:24:39 -03:00
parent 63b25304c3
commit 4dfe2eee94
1 changed files with 1 additions and 1 deletions

View File

@ -554,7 +554,7 @@ through the special :py:class:`request <FixtureRequest>` object::
def smtp_connection(request):
smtp_connection = smtplib.SMTP(request.param, 587, timeout=5)
yield smtp_connection
print ("finalizing %s" % smtp)
print("finalizing %s" % smtp_connection)
smtp_connection.close()
The main change is the declaration of ``params`` with