summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/unittest.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index e5646aef6a..9cca88103a 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -2053,7 +2053,7 @@ Loading and running tests
The *failfast*, *catchbreak* and *buffer* parameters have the same
effect as the same-name `command-line options`_.
- The *warning* argument specifies the :ref:`warning filter <warning-filter>`
+ The *warnings* argument specifies the :ref:`warning filter <warning-filter>`
that should be used while running the tests. If it's not specified, it will
remain ``None`` if a :option:`-W` option is passed to :program:`python`,
otherwise it will be set to ``'default'``.