]> granicus.if.org Git - python/commitdiff
Issue26097 - Fix the TextTestRunner documentation, mention all the arguments of the...
authorSenthil Kumaran <senthil@uthcode.com>
Fri, 15 Jan 2016 05:57:57 +0000 (21:57 -0800)
committerSenthil Kumaran <senthil@uthcode.com>
Fri, 15 Jan 2016 05:57:57 +0000 (21:57 -0800)
Patch contributed by Nicolas Évrard.

Doc/library/unittest.rst

index 212d93dd62d3555c6a626dc7621cafe657404c1f..810eed6644a2dd07ac1c252a70fce6e84c5f1c5a 100644 (file)
@@ -1764,9 +1764,10 @@ Loading and running tests
    instead of repeatedly creating new instances.
 
 
-.. class:: TextTestRunner(stream=sys.stderr, descriptions=True, verbosity=1)
+.. class:: TextTestRunner(stream=sys.stderr, descriptions=True, verbosity=1, \
+                          failfast=False, buffer=False, resultclass=None)
 
-   A basic test runner implementation which prints results on standard error.  It
+   A basic test runner implementation which prints results on standard error. It
    has a few configurable parameters, but is essentially very simple.  Graphical
    applications which run test suites should provide alternate implementations.