]> granicus.if.org Git - python/commit
Force test_mailbox and test_old_mailbox into submission.
authorGuido van Rossum <guido@python.org>
Fri, 31 Aug 2007 04:25:05 +0000 (04:25 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 31 Aug 2007 04:25:05 +0000 (04:25 +0000)
commit671117a43adbc8997ba210e09119ab63d730dfc9
tree72a06cf01780dc69260a73020ff6c95b7d2bb98f
parentc2550c7b1c82892d4882ec1876623961a70b01a3
Force test_mailbox and test_old_mailbox into submission.
(a) Several tests in test_mailbox were failing because we were writing
    text to a file opened in binary mode.  Switching to text fixed these.
(b) test_unix_mbox() in each test does a wacko comparison which apparently
    no longer works due to a different way the message gets parsed.
    I disabled this, I don't think the test was testing what it thought
    it was testing.
Lib/mailbox.py
Lib/test/test_mailbox.py
Lib/test/test_old_mailbox.py