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

Michael Felt report at bugs.python.org
Wed Jun 12 06:05:34 EDT 2019


New submission from Michael Felt <aixtools at felt.demon.nl>:

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()')

----------
messages: 345314
nosy: Michael.Felt
priority: normal
severity: normal
status: open
title: test_sendfile in asyncio crashes when os.sendfile() is not supported

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37243>
_______________________________________


More information about the New-bugs-announce mailing list