print function

This commit is contained in:
Stuart D. Gathman
2016-07-26 09:36:23 -04:00
parent f5bd952f64
commit 255624ea80
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -72,7 +72,7 @@ class MimeTestCase(unittest.TestCase):
# python 2.4 doesn't get exceptions on missing boundaries, and
# if message is modified, output is readable by mail clients
if sys.hexversion < 0x02040000:
self.fail('should get boundary error parsing bad rfc822 attachment')
self.fail('should get boundary error parsing bad rfc822 attachment')
except Errors.BoundaryError:
pass
@@ -201,4 +201,4 @@ if __name__ == '__main__':
fp = open(fname,'r')
msg = mime.message_from_file(fp)
mime.defang(msg,scan_zip=True)
print msg.as_string()
print(msg.as_string())