From: Senthil Kumaran Date: Fri, 15 Jan 2016 05:57:57 +0000 (-0800) Subject: Issue26097 - Fix the TextTestRunner documentation, mention all the arguments of the... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1826f6369c77588fc851afd4504c915ef5eb2408;p=python Issue26097 - Fix the TextTestRunner documentation, mention all the arguments of the class. Patch contributed by Nicolas Évrard. --- diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 212d93dd62..810eed6644 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -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.