Otherwise, the tests fail if test_noresponse() is not skipped:
disconnect() checks whether __idle_task is None, and gets an
AttributeError if connect() never succeeded.
tests: Add a way to allow slow tests to be run
On continuous integration systems that are not being used interactively,
it will probably take more than 5 seconds to install the
build-dependencies anyway, and usually nobody will be waiting for the
results, so we might as well run all tests - even the slow ones.
asyncio: Initialize __idle_task
Otherwise, the tests fail if test_noresponse() is not skipped: disconnect() checks whether __idle_task is None, and gets an AttributeError if connect() never succeeded.
tests: Add a way to allow slow tests to be run
On continuous integration systems that are not being used interactively, it will probably take more than 5 seconds to install the build-dependencies anyway, and usually nobody will be waiting for the results, so we might as well run all tests - even the slow ones.