From: Ben Darnell Date: Mon, 20 Feb 2017 19:45:14 +0000 (-0500) Subject: testing: Clarify docs of testing.main() X-Git-Tag: v4.5.0~36^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e793ff895387da1b8c1ad1aa38a99348fae96bcf;p=thirdparty%2Ftornado.git testing: Clarify docs of testing.main() --- diff --git a/tornado/testing.py b/tornado/testing.py index 902bfdfca..1509f608f 100644 --- a/tornado/testing.py +++ b/tornado/testing.py @@ -656,7 +656,9 @@ def main(**kwargs): This test runner is essentially equivalent to `unittest.main` from the standard library, but adds support for tornado-style option - parsing and log formatting. + parsing and log formatting. It is *not* necessary to use this + `main` function to run tests using `AsyncTestCase`; these tests + are self-contained and can run with any test runner. The easiest way to run a test is via the command line::