diff options
Diffstat (limited to 'Lib/test/test_multifile.py')
-rw-r--r-- | Lib/test/test_multifile.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_multifile.py b/Lib/test/test_multifile.py index cd89e5e..437c394 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 |