commit | d62269f9207ca9ac539c9216a9b41cab4f62d5e4 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Mon Sep 15 23:54:52 2008 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Mon Sep 15 23:54:52 2008 +0000 |
tree | 2044573ff07d7643a808bfce68f840c47a0986c7 | |
parent | 9cadb1b6e0d10aaeb8f9e69e51f672a53de6b164 [diff] [blame] |
Fix Windows buildbot failures after r66469.
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index f58aaf7..4897aaf 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py
@@ -69,7 +69,8 @@ os.write(fd, memoryview(b"spam\n")) os.close(fd) with open(support.TESTFN, "rb") as fobj: - self.assertEqual(fobj.read(), b"bacon\neggs\nspam\n") + self.assertEqual(fobj.read().splitlines(), + [b"bacon", b"eggs", b"spam"]) class TemporaryFileTests(unittest.TestCase):