MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_keywords

Method test_keywords

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

Source from the content-addressed store, hash-verified

3945 self.assertEqual(cm.exception.errno, errno.EINVAL)
3946
3947 async def test_keywords(self):
3948 # Keyword arguments should be supported
3949 await self.async_sendfile(out_fd=self.sockno, in_fd=self.fileno,
3950 offset=0, count=4096)
3951 if self.SUPPORT_HEADERS_TRAILERS:
3952 await self.async_sendfile(out_fd=self.sockno, in_fd=self.fileno,
3953 offset=0, count=4096,
3954 headers=(), trailers=(), flags=0)
3955
3956 # --- headers / trailers tests
3957

Callers

nothing calls this directly

Calls 1

async_sendfileMethod · 0.95

Tested by

no test coverage detected