From 8f7f5802ed4fed935b565564eac6d34a4c5d8dc9 Mon Sep 17 00:00:00 2001 From: rmorotti Date: Tue, 18 Jun 2024 14:21:24 +0100 Subject: [PATCH] fix test --- Lib/_pyio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/_pyio.py b/Lib/_pyio.py index e41eb939d1f675b..3186cc83fe3d972 100644 --- a/Lib/_pyio.py +++ b/Lib/_pyio.py @@ -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: