summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2016-01-15 05:57:57 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2016-01-15 05:57:57 (GMT)
commit1826f6369c77588fc851afd4504c915ef5eb2408 (patch)
tree4ccf7eb0547569a01485b09d661644cf609da142
parent71202bb053539c58043297965557809debbd1fa0 (diff)
downloadcpython-1826f6369c77588fc851afd4504c915ef5eb2408.zip
cpython-1826f6369c77588fc851afd4504c915ef5eb2408.tar.gz
cpython-1826f6369c77588fc851afd4504c915ef5eb2408.tar.bz2
Issue26097 - Fix the TextTestRunner documentation, mention all the arguments of the class.
Patch contributed by Nicolas Évrard.
-rw-r--r--Doc/library/unittest.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 212d93d..810eed6 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.