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

This commit is contained in:
Serhiy Storchaka 2013-02-10 14:44:14 +02:00
commit bf95c143a2
1 changed files with 1 additions and 1 deletions

View File

@ -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):