[issue37243] test_sendfile in asyncio crashes when os.sendfile() is not supported

2019-06-19 Thread Michael Felt
Michael Felt added the comment: Closed. Not a bug in test_sendfile. -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue37243] test_sendfile in asyncio crashes when os.sendfile() is not supported

2019-06-12 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +13874 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14010 ___ Python tracker ___ ___

[issue37243] test_sendfile in asyncio crashes when os.sendfile() is not supported

2019-06-12 Thread Michael Felt
New submission from Michael Felt : issue34655 added sendfile support to asyncio. However, the `test_sendfile` fails when called if there is no os.sendfile support. This patch will skip the test when @unittest.skipUnless(hasattr(os, 'sendfile'), 'test needs os.sendfile()') -- message