From 1826f6369c77588fc851afd4504c915ef5eb2408 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Thu, 14 Jan 2016 21:57:57 -0800 Subject: [PATCH] Issue26097 - Fix the TextTestRunner documentation, mention all the arguments of the class. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Patch contributed by Nicolas Évrard. --- Doc/library/unittest.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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. -- 2.50.1