From: Andrew M. Kuchling Date: Thu, 24 Jan 2008 14:08:00 +0000 (+0000) Subject: Fix failing test_mailbox on Cygwin X-Git-Tag: v2.5.2c1~52 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=61c2c9536fdcb29c6224850f8a92e99478d54ff3;p=thirdparty%2FPython%2Fcpython.git Fix failing test_mailbox on Cygwin --- diff --git a/Lib/test/test_mailbox.py b/Lib/test/test_mailbox.py index ffeeb3eed054..7dc5216f8bbc 100644 --- a/Lib/test/test_mailbox.py +++ b/Lib/test/test_mailbox.py @@ -519,6 +519,7 @@ class TestMaildir(TestMailbox): class FakeMessage(mailbox.MaildirMessage): pass box = mailbox.Maildir(self._path, factory=FakeMessage) + box.colon = self._box.colon msg2 = box.get_message(key) self.assert_(isinstance(msg2, FakeMessage))