Commit bf95c143 authored by Serhiy Storchaka's avatar Serhiy Storchaka

Fix a test for SpooledTemporaryFile (added in issue #10355).

parents 9fef188c 497cee45
......@@ -792,7 +792,7 @@ class TestSpooledTemporaryFile(BaseTestCase):
self.assertTrue(f._rolled)
self.assertEqual(f.mode, 'w+')
self.assertIsNotNone(f.name)
self.assertEqual(f.newlines, '\n')
self.assertEqual(f.newlines, os.linesep)
self.assertIsNotNone(f.encoding)
def test_text_newline_and_encoding(self):
......
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