mirror of
https://github.com/python/cpython.git
synced 2025-01-11 19:14:09 +08:00
Fix a test for SpooledTemporaryFile (added in issue #10355).
This commit is contained in:
parent
88efc52d74
commit
497cee456c
@ -854,7 +854,7 @@ class test_SpooledTemporaryFile(TC):
|
||||
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):
|
||||
|
Loading…
Reference in New Issue
Block a user