From 1ce467006262a1369474919ca13b0c5831652cdc Mon Sep 17 00:00:00 2001 From: aostr Date: Sun, 26 Jun 2016 06:46:09 +0200 Subject: [PATCH] * removed tailing whitespaces --- _pytest/terminal.py | 2 +- testing/test_terminal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_pytest/terminal.py b/_pytest/terminal.py index 3344203d9..0eb3696c4 100644 --- a/_pytest/terminal.py +++ b/_pytest/terminal.py @@ -26,7 +26,7 @@ def pytest_addoption(parser): "(p)passed, (P)passed with output, (a)all except pP. " "The pytest warnings are displayed at all times except when " "--disable-pytest-warnings is set") - group._addoption('--disable-pytest-warnings', default=False, + group._addoption('--disable-pytest-warnings', default=False, dest='disablepytestwarnings', action='store_true', help='disable warnings summary, overrides -r w flag') group._addoption('-l', '--showlocals', diff --git a/testing/test_terminal.py b/testing/test_terminal.py index bda5e858c..96ed80e08 100644 --- a/testing/test_terminal.py +++ b/testing/test_terminal.py @@ -613,7 +613,7 @@ def test_getreportopt(): assert getreportopt(config) == "sfxw" config.option.reportchars = "sfxw" - config.option.disablepytestwarnings = False + config.option.disablepytestwarnings = False assert getreportopt(config) == "sfxw"