diff --git a/testing/test_terminal.py b/testing/test_terminal.py index d730da666e3..2155935d43c 100644 --- a/testing/test_terminal.py +++ b/testing/test_terminal.py @@ -830,14 +830,20 @@ class Option(object): config.option.reportchars = "sfxw" assert getreportopt(config) == "sfx" - config.option.reportchars = "sfx" + # Now with --disable-warnings. config.option.disable_warnings = False + config.option.reportchars = "a" + assert getreportopt(config) == "sxXwEf" # NOTE: "w" included! + + config.option.reportchars = "sfx" assert getreportopt(config) == "sfxw" config.option.reportchars = "sfxw" - config.option.disable_warnings = False assert getreportopt(config) == "sfxw" + config.option.reportchars = "a" + assert getreportopt(config) == "sxXwEf" # NOTE: "w" included! + config.option.reportchars = "A" assert getreportopt(config) == "sxXwEfpP"