Skip to content

Commit a3b61aa

Browse files
committed
set warnings as errors everywhere
1 parent 3a570c6 commit a3b61aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/libregrtest/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -642,9 +642,9 @@ def _add_ci_python_opts(self, python_opts, keep_environ):
642642
if not sys.stdout.write_through:
643643
python_opts.append('-u')
644644

645-
# Add warnings filter 'default'
645+
# Add warnings filter 'error'
646646
if 'default' not in sys.warnoptions:
647-
python_opts.extend(('-W', 'default'))
647+
python_opts.extend(('-W', 'error'))
648648

649649
# Error on bytes/str comparison
650650
if sys.flags.bytes_warning < 2:

0 commit comments

Comments
 (0)