[Python-Dev] 2.5.2 release coming up (original) (raw)

ocean ocean at m2.ccsnet.ne.jp
Thu Jan 24 12:49:44 CET 2008


But on windows, ":" is special letter after drive letter. (ex: "C:/Winnt/foo/bar") So I imagine open() or something converts ":" to "!" (valid character as file name).

Sorry, I lied. :-(

open() didn't change ":", test_mailbox.py (TestMaildir.setUp) changed self._box.colon to "!"

Otherwise, newly created mail box in test_consistent_factory 's "colon" is ":". This mismatch causes error.

Following patch solves error, but I don't know if this is good solution.

Index: Lib/test/test_mailbox.py

--- Lib/test/test_mailbox.py (revision 60233) +++ Lib/test/test_mailbox.py (working copy) @@ -458,12 +458,11 @@

class TestMaildir(TestMailbox):

factory)

@@ -518,7 +517,7 @@ # Create new mailbox with class FakeMessage(mailbox.MaildirMessage): pass



More information about the Python-Dev mailing list