Commit 35f61318 authored by Amaury Forgeot d'Arc's avatar Amaury Forgeot d'Arc

Correct test_mailbox on win32: since the test sets a custom 'colon' attribute

to the main mailbox, copy it to secondary mailbox instances.
parent daea5cc7
......@@ -520,6 +520,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))
......
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