New submission from Brett Cannon <br...@python.org>: There were not checks in test.libregrtest.save_env to make sure tests were not mucking with the default event loop. The settings to check seem to be:
'asyncio.get_event_loop_policy', 'asyncio.get_event_loop', 'asyncio_get_exception_handler', 'asyncio_get_debug', 'asyncio_get_child_watcher', I have a PR that I'm working on that checks these things and it looks like the following tests are being a little sloppy: test_asyncgen test_contextlib_async test_coroutines test_socket test_sys_settrace And test_asyncio never seems to complete. ---------- components: Tests messages: 316985 nosy: asvetlov, brett.cannon, giampaolo.rodola, yselivanov priority: normal severity: normal status: open title: Check that the global settings for asyncio are not changed by tests type: behavior versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33562> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com