]> git.ipfire.org Git - thirdparty/tornado.git/commit
Add decorator for @gen.engine-like tests.
authorBen Darnell <ben@bendarnell.com>
Sun, 27 Jan 2013 22:47:37 +0000 (17:47 -0500)
committerBen Darnell <ben@bendarnell.com>
Sun, 27 Jan 2013 22:54:08 +0000 (17:54 -0500)
commit8a9179f2d35e353782aa3611dbdd79c29a5e8185
treee627f17e3506c04190c6019e18bd4a80db0027b8
parent3a428c033d9714f22d40e66410404853d473eb98
Add decorator for @gen.engine-like tests.

Futures are awkward to use in stop/wait tests, and this makes it possible
to be consistent between tests and regular code.

Uses the (now-renamed) deactivate_stack_context callback
to detect when a test finishes cleanly.
tornado/gen.py
tornado/test/concurrent_test.py
tornado/test/testing_test.py
tornado/testing.py
website/sphinx/releases/next.rst