Skip to content

Commit 03cae53

Browse files
committed
Fix a call of async_sendfile in test_flags
1 parent 005ad9a commit 03cae53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_os.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3436,8 +3436,8 @@ async def test_trailers_overflow_32bits(self):
34363436
'test needs os.SF_NODISKIO')
34373437
async def test_flags(self):
34383438
try:
3439-
await async_sendfile(self.sockno, self.fileno, 0, 4096,
3440-
flags=os.SF_NODISKIO)
3439+
await self.async_sendfile(self.sockno, self.fileno, 0, 4096,
3440+
flags=os.SF_NODISKIO)
34413441
except OSError as err:
34423442
if err.errno not in (errno.EBUSY, errno.EAGAIN):
34433443
raise

0 commit comments

Comments
 (0)