* removed tailing whitespaces
This commit is contained in:
parent
e04d9ff80b
commit
1ce4670062
|
@ -26,7 +26,7 @@ def pytest_addoption(parser):
|
||||||
"(p)passed, (P)passed with output, (a)all except pP. "
|
"(p)passed, (P)passed with output, (a)all except pP. "
|
||||||
"The pytest warnings are displayed at all times except when "
|
"The pytest warnings are displayed at all times except when "
|
||||||
"--disable-pytest-warnings is set")
|
"--disable-pytest-warnings is set")
|
||||||
group._addoption('--disable-pytest-warnings', default=False,
|
group._addoption('--disable-pytest-warnings', default=False,
|
||||||
dest='disablepytestwarnings', action='store_true',
|
dest='disablepytestwarnings', action='store_true',
|
||||||
help='disable warnings summary, overrides -r w flag')
|
help='disable warnings summary, overrides -r w flag')
|
||||||
group._addoption('-l', '--showlocals',
|
group._addoption('-l', '--showlocals',
|
||||||
|
|
|
@ -613,7 +613,7 @@ def test_getreportopt():
|
||||||
assert getreportopt(config) == "sfxw"
|
assert getreportopt(config) == "sfxw"
|
||||||
|
|
||||||
config.option.reportchars = "sfxw"
|
config.option.reportchars = "sfxw"
|
||||||
config.option.disablepytestwarnings = False
|
config.option.disablepytestwarnings = False
|
||||||
assert getreportopt(config) == "sfxw"
|
assert getreportopt(config) == "sfxw"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue