More "noone expected this to run twice"ness removal.

This commit is contained in:
Michael W. Hudson 2004-08-03 11:14:09 +00:00
parent fe27ff8936
commit 5bf2516807

View file

@ -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