From efce2ababa26261783b915c80bfe0eeadc638c57 Mon Sep 17 00:00:00 2001 From: Darren Yin Date: Thu, 21 May 2015 19:15:52 -0700 Subject: [PATCH] add in missing finalizer to doc example --- doc/en/fixture.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/en/fixture.txt b/doc/en/fixture.txt index 6ff127901..1de795502 100644 --- a/doc/en/fixture.txt +++ b/doc/en/fixture.txt @@ -302,7 +302,7 @@ read an optional server URL from the test module which uses our fixture:: 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