]> git.ipfire.org Git - thirdparty/tornado.git/commit
wsgi: Avoid touching the asyncio event loop at import time 2437/head
authorBen Darnell <ben@bendarnell.com>
Fri, 6 Jul 2018 18:49:25 +0000 (14:49 -0400)
committerBen Darnell <ben@bendarnell.com>
Fri, 6 Jul 2018 19:02:55 +0000 (15:02 -0400)
commitccc89025f25079f616c1d0475a35b788e81276ae
treeba91cc5ab384a202a6fa4697c9784bf6f7a4f379
parentd68e63f55bdbfb4b1b240f1132a812df52e865eb
wsgi: Avoid touching the asyncio event loop at import time

Rewrite import_test. Its original purpose of augmenting our once-poor
test coverage, but it can now be useful for ensuring the absence of
import-time side effects.

Fixes #2426
tornado/test/import_test.py
tornado/wsgi.py