commit | fb2e8a7c01f5411e9b3c1bc02944e67f75d5b73b | [log] [tgz] |
---|---|---|
author | Petri Lehtinen <petri@digip.org> | Wed Sep 26 07:41:11 2012 +0300 |
committer | Petri Lehtinen <petri@digip.org> | Wed Sep 26 07:42:18 2012 +0300 |
tree | 1b843957b357567603dfa2a3ee8237220ab4fdeb | |
parent | 1b43274d122f7d00bf203b7820bcb18c9c173d07 [diff] [blame] |
#15222: Fix a test failure on Windows
diff --git a/Lib/test/test_mailbox.py b/Lib/test/test_mailbox.py index 84c6cdd..0696fef 100644 --- a/Lib/test/test_mailbox.py +++ b/Lib/test/test_mailbox.py
@@ -145,7 +145,7 @@ 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__()