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))
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to