diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-10 12:44:43 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-10 12:44:43 (GMT) |
commit | 34a2a87d17ff1730946adf86d23a4737271e53b3 (patch) | |
tree | 0ae6a1b7044ae27fbfa3fb184fed8f374d300251 /Lib/test/test_tempfile.py | |
parent | 02c2076bd557ba34da02345e1254f8083e746ff8 (diff) | |
parent | bf95c143a29aa73eed91b630849432f1ff43d602 (diff) | |
download | cpython-34a2a87d17ff1730946adf86d23a4737271e53b3.zip cpython-34a2a87d17ff1730946adf86d23a4737271e53b3.tar.gz cpython-34a2a87d17ff1730946adf86d23a4737271e53b3.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 ecad944..c8d4b49 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): |