]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
testing: Clarify docs of testing.main()
authorBen Darnell <ben@bendarnell.com>
Mon, 20 Feb 2017 19:45:14 +0000 (14:45 -0500)
committerBen Darnell <ben@bendarnell.com>
Mon, 20 Feb 2017 19:45:14 +0000 (14:45 -0500)
tornado/testing.py

index 902bfdfca950f0b20de3ef1cce4aa1f34632ddd8..1509f608f885082074c5fc4e513e1c60af148329 100644 (file)
@@ -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::