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

Method async_sendfile

Lib/test/test_os.py:3859–3860  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

3857 # Use the test subject instead of asyncio.loop.sendfile
3858 @staticmethod
3859 async def async_sendfile(*args, **kwargs):
3860 return await asyncio.to_thread(os.sendfile, *args, **kwargs)
3861
3862 @staticmethod
3863 async def sendfile_wrapper(*args, **kwargs):

Callers 9

test_offset_overflowMethod · 0.95
test_invalid_offsetMethod · 0.95
test_keywordsMethod · 0.95
test_headersMethod · 0.95
test_trailersMethod · 0.95
test_flagsMethod · 0.95
sendfile_wrapperMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected