From 4dfe2eee945db025aad942fef71b98b4f789c349 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Wed, 11 Jul 2018 20:24:39 -0300 Subject: [PATCH] Fix finalize call --- doc/en/fixture.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/en/fixture.rst b/doc/en/fixture.rst index 18e431196..a02ab8215 100644 --- a/doc/en/fixture.rst +++ b/doc/en/fixture.rst @@ -554,7 +554,7 @@ through the special :py:class:`request ` 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