Commit 497cee45 authored by Serhiy Storchaka's avatar Serhiy Storchaka

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

parent 88efc52d
...@@ -854,7 +854,7 @@ class test_SpooledTemporaryFile(TC): ...@@ -854,7 +854,7 @@ class test_SpooledTemporaryFile(TC):
self.assertTrue(f._rolled) self.assertTrue(f._rolled)
self.assertEqual(f.mode, 'w+') self.assertEqual(f.mode, 'w+')
self.assertIsNotNone(f.name) self.assertIsNotNone(f.name)
self.assertEqual(f.newlines, '\n') self.assertEqual(f.newlines, os.linesep)
self.assertIsNotNone(f.encoding) self.assertIsNotNone(f.encoding)
def test_text_newline_and_encoding(self): 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