From 5bf2516807d9d04654b15ea4dfd03bbf52db94fb Mon Sep 17 00:00:00 2001 From: "Michael W. Hudson" Date: Tue, 3 Aug 2004 11:14:09 +0000 Subject: [PATCH] More "noone expected this to run twice"ness removal. --- Lib/test/test_multifile.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/test/test_multifile.py b/Lib/test/test_multifile.py index cd89e5e6c0..437c394e1e 100644 --- a/Lib/test/test_multifile.py +++ b/Lib/test/test_multifile.py @@ -36,9 +36,6 @@ Attached Content. """ -boundaries = 0 -linecount = 0 - def getMIMEMsg(mf): global boundaries, linecount msg = mimetools.Message(mf) @@ -57,6 +54,9 @@ def getMIMEMsg(mf): linecount += len(lines) def test_main(): + global boundaries, linecount + boundaries = 0 + linecount = 0 f = cStringIO.StringIO(msg) getMIMEMsg(multifile.MultiFile(f)) assert boundaries == 2 -- 2.50.1