File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -830,14 +830,20 @@ class Option(object):
830830 config .option .reportchars = "sfxw"
831831 assert getreportopt (config ) == "sfx"
832832
833- config . option . reportchars = "sfx"
833+ # Now with --disable-warnings.
834834 config .option .disable_warnings = False
835+ config .option .reportchars = "a"
836+ assert getreportopt (config ) == "sxXwEf" # NOTE: "w" included!
837+
838+ config .option .reportchars = "sfx"
835839 assert getreportopt (config ) == "sfxw"
836840
837841 config .option .reportchars = "sfxw"
838- config .option .disable_warnings = False
839842 assert getreportopt (config ) == "sfxw"
840843
844+ config .option .reportchars = "a"
845+ assert getreportopt (config ) == "sxXwEf" # NOTE: "w" included!
846+
841847 config .option .reportchars = "A"
842848 assert getreportopt (config ) == "sxXwEfpP"
843849
You can’t perform that action at this time.
0 commit comments