]> granicus.if.org Git - python/commitdiff
Fix failing test_mailbox on Cygwin
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 24 Jan 2008 14:08:00 +0000 (14:08 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 24 Jan 2008 14:08:00 +0000 (14:08 +0000)
Lib/test/test_mailbox.py

index ffeeb3eed054c6fafaa872039a98225aa8b88640..7dc5216f8bbc2252a721d1b342a2ee42e0da8ddc 100644 (file)
@@ -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))