Commit fb2e8a7c authored by Petri Lehtinen's avatar Petri Lehtinen

#15222: Fix a test failure on Windows

parent 1b43274d
......@@ -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__()
......
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