From fb2e8a7c01f5411e9b3c1bc02944e67f75d5b73b Mon Sep 17 00:00:00 2001 From: Petri Lehtinen Date: Wed, 26 Sep 2012 07:41:11 +0300 Subject: [PATCH] #15222: Fix a test failure on Windows --- Lib/test/test_mailbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_mailbox.py b/Lib/test/test_mailbox.py index 84c6cdd1cc03..0696fef586cb 100644 --- a/Lib/test/test_mailbox.py +++ b/Lib/test/test_mailbox.py @@ -145,7 +145,7 @@ class TestMailbox(TestBase): key1 = self._box.add(self._template % 1) msg = self._box.get(key1) self.assertEqual(msg['from'], 'foo') - self.assertEqual(msg.fp.read(), '1\n') + self.assertEqual(msg.fp.read(), '1' + os.linesep) def test_getitem(self): # Retrieve message using __getitem__() -- 2.47.3