1 new commit in pytest:

https://bitbucket.org/pytest-dev/pytest/commits/00993fa6da31/
Changeset:   00993fa6da31
User:        dareonion
Date:        2015-05-22 02:15:52+00:00
Summary:     add in missing finalizer to doc example
Affected #:  1 file

diff -r 6ee4b4d70a9b81f525c6fe46eab1b2018de6f4b0 -r 
00993fa6da31bc8a3860cbf14f69e1a7ab971eac doc/en/fixture.txt
--- a/doc/en/fixture.txt
+++ b/doc/en/fixture.txt
@@ -302,7 +302,7 @@
         def fin():
             print ("finalizing %s (%s)" % (smtp, server))
             smtp.close()
-
+        request.addfinalizer(fin)
         return smtp
 
 We use the ``request.module`` attribute to optionally obtain an

Repository URL: https://bitbucket.org/pytest-dev/pytest/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to