mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix Windows buildbot failures after r66469.
This commit is contained in:
parent
9cadb1b6e0
commit
d62269f920
2 changed files with 3 additions and 2 deletions
|
@ -69,7 +69,8 @@ class FileTests(unittest.TestCase):
|
|||
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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue