diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-10 12:44:14 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-10 12:44:14 (GMT) |
commit | bf95c143a29aa73eed91b630849432f1ff43d602 (patch) | |
tree | 23ea0b40de5e84e181c8acc18e02596eb12ecba4 /Lib/test/test_tempfile.py | |
parent | 9fef188c9eea428a28e108c4ab6966c6c19a097a (diff) | |
parent | 497cee456c29202918739275fcc3d1bd0183ae06 (diff) | |
download | cpython-bf95c143a29aa73eed91b630849432f1ff43d602.zip cpython-bf95c143a29aa73eed91b630849432f1ff43d602.tar.gz cpython-bf95c143a29aa73eed91b630849432f1ff43d602.tar.bz2 |
Fix a test for SpooledTemporaryFile (added in issue #10355).
Diffstat (limited to 'Lib/test/test_tempfile.py')
-rw-r--r-- | Lib/test/test_tempfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py index 7f4d5b9..b638d87 100644 --- a/Lib/test/test_tempfile.py +++ b/Lib/test/test_tempfile.py @@ -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): |