Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 292ee5d commit 543b7f3Copy full SHA for 543b7f3
1 file changed
Lib/test/test_zlib.py
@@ -70,7 +70,7 @@ def setUp(self):
70
with open(support.TESTFN, "wb+") as f:
71
f.seek(_4G)
72
f.write(b"asdf")
73
- f.flush()
+ with open(support.TESTFN, "rb") as f:
74
self.mapping = mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ)
75
76
def tearDown(self):
0 commit comments