Merge pull request #2602 from blueyed/doc-fix-filterwarnings
Fix help for filterwarnings ini option
This commit is contained in:
commit
1cf826624e
|
@ -39,8 +39,9 @@ def pytest_addoption(parser):
|
||||||
'-W', '--pythonwarnings', action='append',
|
'-W', '--pythonwarnings', action='append',
|
||||||
help="set which warnings to report, see -W option of python itself.")
|
help="set which warnings to report, see -W option of python itself.")
|
||||||
parser.addini("filterwarnings", type="linelist",
|
parser.addini("filterwarnings", type="linelist",
|
||||||
help="Each line specifies warning filter pattern which would be passed"
|
help="Each line specifies a pattern for "
|
||||||
"to warnings.filterwarnings. Process after -W and --pythonwarnings.")
|
"warnings.filterwarnings. "
|
||||||
|
"Processed after -W and --pythonwarnings.")
|
||||||
|
|
||||||
|
|
||||||
@contextmanager
|
@contextmanager
|
||||||
|
|
Loading…
Reference in New Issue