Commits

Barry Warsaw committed a7d5440

Restore test_email for a1. It passes completely.

Comments (0)

Files changed (2)

Lib/email/test/test_email.py

         # XXX This splitting is all wrong.  It the first value line should be
         # snug against the field name.
         eq(msg.as_string(maxheaderlen=78), """\
-Face-1:
+Face-1:\x20
 \tiVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUAAAAkHiJeRUIcGBi9
  locQDQ4zJykFBAXJfWDjAAACYUlEQVR4nF2TQY/jIAyFc6lydlG5x8Nyp1Y69wj1PN2I5gzp
-Face-2:
+Face-2:\x20
  iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUAAAAkHiJeRUIcGBi9
  locQDQ4zJykFBAXJfWDjAAACYUlEQVR4nF2TQY/jIAyFc6lydlG5x8Nyp1Y69wj1PN2I5gzp
 

Lib/test/test_email.py

+# Copyright (C) 2001-2007 Python Software Foundation
+# email package unit tests
+
+import unittest
+# The specific tests now live in Lib/email/test
+from email.test.test_email import suite
+from test import test_support
+
+def test_main():
+    test_support.run_unittest(suite())
+
+if __name__ == '__main__':
+    test_main()