diff options
author | Michael W. Hudson <mwh@python.net> | 2004-08-03 11:14:09 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2004-08-03 11:14:09 (GMT) |
commit | 5bf2516807d9d04654b15ea4dfd03bbf52db94fb (patch) | |
tree | a2cc218491428826f4286a808f3633fad6c46f92 /Lib/test/test_multifile.py | |
parent | fe27ff8936f2654afe2765fca110f72725adcc9d (diff) | |
download | cpython-5bf2516807d9d04654b15ea4dfd03bbf52db94fb.zip cpython-5bf2516807d9d04654b15ea4dfd03bbf52db94fb.tar.gz cpython-5bf2516807d9d04654b15ea4dfd03bbf52db94fb.tar.bz2 |
More "noone expected this to run twice"ness removal.
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 |