Kaydet (Commit) 61c2c953 authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

Fix failing test_mailbox on Cygwin

üst fe528ebf
...@@ -519,6 +519,7 @@ class TestMaildir(TestMailbox): ...@@ -519,6 +519,7 @@ class TestMaildir(TestMailbox):
class FakeMessage(mailbox.MaildirMessage): class FakeMessage(mailbox.MaildirMessage):
pass pass
box = mailbox.Maildir(self._path, factory=FakeMessage) box = mailbox.Maildir(self._path, factory=FakeMessage)
box.colon = self._box.colon
msg2 = box.get_message(key) msg2 = box.get_message(key)
self.assert_(isinstance(msg2, FakeMessage)) self.assert_(isinstance(msg2, FakeMessage))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment