Skip to content

Commit 1cf8266

Browse files
authored
Merge pull request #2602 from blueyed/doc-fix-filterwarnings
Fix help for filterwarnings ini option
2 parents ccc4b3a + 97e5a3c commit 1cf8266

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎_pytest/warnings.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ def pytest_addoption(parser):
3939
'-W', '--pythonwarnings', action='append',
4040
help="set which warnings to report, see -W option of python itself.")
4141
parser.addini("filterwarnings", type="linelist",
42-
help="Each line specifies warning filter pattern which would be passed"
43-
"to warnings.filterwarnings. Process after -W and --pythonwarnings.")
42+
help="Each line specifies a pattern for "
43+
"warnings.filterwarnings. "
44+
"Processed after -W and --pythonwarnings.")
4445

4546

4647
@contextmanager

0 commit comments

Comments
 (0)