]> git.ipfire.org Git - thirdparty/tornado.git/commit
testing: Deprecate AsyncTestCase
authorBen Darnell <ben@bendarnell.com>
Tue, 28 Dec 2021 20:56:33 +0000 (15:56 -0500)
committerBen Darnell <ben@bendarnell.com>
Sun, 16 Jan 2022 21:49:19 +0000 (16:49 -0500)
commit5a939f76d777adc4ddfb565eafe62f5cbefc5ae3
tree5267c0c2d3b54343660c56ffe88a7d7ba72db992
parentebe6d07eead620e4a637dd5dc4d962248a913cdb
testing: Deprecate AsyncTestCase

The interfaces defined by this class rely on an event loop being
"current" even though it is not running; this is incompatible with
the future of the asyncio module.

It's too big a task to rewrite all the tests right now, so just
swallow deprecation warnings for "no current event loop".
tornado/testing.py