[Python-3000-checkins] r57696 - python/branches/py3k/Lib/test/test_old_mailbox.py
neal.norwitz
python-3000-checkins at python.org
Thu Aug 30 05:10:46 CEST 2007
Author: neal.norwitz
Date: Thu Aug 30 05:10:46 2007
New Revision: 57696
Modified:
python/branches/py3k/Lib/test/test_old_mailbox.py
Log:
Use the new name for the parser module.
Modified: python/branches/py3k/Lib/test/test_old_mailbox.py
==============================================================================
--- python/branches/py3k/Lib/test/test_old_mailbox.py (original)
+++ python/branches/py3k/Lib/test/test_old_mailbox.py Thu Aug 30 05:10:46 2007
@@ -99,11 +99,11 @@
def test_unix_mbox(self):
### should be better!
- import email.Parser
+ import email.parser
fname = self.createMessage("cur", True)
n = 0
for msg in mailbox.PortableUnixMailbox(open(fname),
- email.Parser.Parser().parse):
+ email.parser.Parser().parse):
n += 1
self.assertEqual(msg["subject"], "Simple Test")
self.assertEqual(len(str(msg)), len(FROM_)+len(DUMMY_MESSAGE))
More information about the Python-3000-checkins
mailing list