MCPcopy Create free account
hub / github.com/RustPython/RustPython / test_flags

Method test_flags

Lib/test/test_os.py:4018–4024  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4016 @unittest.skipUnless(hasattr(os, 'SF_NODISKIO'),
4017 'test needs os.SF_NODISKIO')
4018 async def test_flags(self):
4019 try:
4020 await self.async_sendfile(self.sockno, self.fileno, 0, 4096,
4021 flags=os.SF_NODISKIO)
4022 except OSError as err:
4023 if err.errno not in (errno.EBUSY, errno.EAGAIN):
4024 raise
4025
4026
4027def supports_extended_attributes():

Callers

nothing calls this directly

Calls 1

async_sendfileMethod · 0.95

Tested by

no test coverage detected