Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rmmancom committed Jun 18, 2024
1 parent 3abce4a commit 8f7f580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/_pyio.py
Original file line number Diff line number Diff line change
Expand Up @@ -1576,7 +1576,7 @@ def __init__(self, file, mode='r', closefd=True, opener=None):
# don't exist.
pass
self._blksize = getattr(fdfstat, 'st_blksize', 0)
if self._blksize <= DEFAULT_BUFFER_SIZE:
if self._blksize < DEFAULT_BUFFER_SIZE:
self._blksize = DEFAULT_BUFFER_SIZE

if _setmode:
Expand Down

0 comments on commit 8f7f580

Please sign in to comment.