mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Add fixes to previous commit
This commit is contained in:
parent
83b743cf96
commit
77b70ba193
3 changed files with 7 additions and 4 deletions
5
third_party/python/Lib/test/test_gzip.py
vendored
5
third_party/python/Lib/test/test_gzip.py
vendored
|
@ -71,8 +71,9 @@ class TestGzip(BaseTest):
|
|||
# Try flush and fileno.
|
||||
f.flush()
|
||||
f.fileno()
|
||||
if hasattr(os, 'fsync'):
|
||||
os.fsync(f.fileno())
|
||||
# TODO(jart): Why does this need fsync()?
|
||||
#if hasattr(os, 'fsync'):
|
||||
# os.fsync(f.fileno())
|
||||
f.close()
|
||||
|
||||
# Test multiple close() calls.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue