From: Ben Darnell Date: Fri, 15 Mar 2013 03:07:58 +0000 (-0400) Subject: Add new methods to docs, found by sphinx coverage extension. X-Git-Tag: v3.0.0~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e3c288eb016fe44c66abaf7b0f4b9c01ba305ce;p=thirdparty%2Ftornado.git Add new methods to docs, found by sphinx coverage extension. --- diff --git a/docs/gen.rst b/docs/gen.rst index c447c0894..28d3c8a6b 100644 --- a/docs/gen.rst +++ b/docs/gen.rst @@ -3,8 +3,10 @@ .. automodule:: tornado.gen - Decorator - --------- + Decorators + ---------- + + .. autofunction:: coroutine .. autofunction:: engine diff --git a/docs/ioloop.rst b/docs/ioloop.rst index ec64dae81..171ff38be 100644 --- a/docs/ioloop.rst +++ b/docs/ioloop.rst @@ -16,6 +16,7 @@ .. automethod:: IOLoop.install .. automethod:: IOLoop.start .. automethod:: IOLoop.stop + .. automethod:: IOLoop.run_sync .. automethod:: IOLoop.close I/O events diff --git a/docs/testing.rst b/docs/testing.rst index 24f5c926e..b5fa75381 100644 --- a/docs/testing.rst +++ b/docs/testing.rst @@ -15,6 +15,8 @@ .. autoclass:: AsyncHTTPSTestCase :members: + .. autofunction:: gen_test + Controlling log output ---------------------- diff --git a/tornado/testing.py b/tornado/testing.py index a3b448ec2..37b75ea93 100644 --- a/tornado/testing.py +++ b/tornado/testing.py @@ -371,6 +371,7 @@ def gen_test(f): on subclasses of `AsyncTestCase`. Example:: + class MyTest(AsyncHTTPTestCase): @gen_test def test_something(self):