[Python-checkins] bpo-20361: Remove workaround for a now fixed bug (#5283)

Victor Stinner webhook-mailer at python.org
Tue Jan 23 07:30:56 EST 2018


https://github.com/python/cpython/commit/dc6b9462c00873c8404a7966b7ca210717718af5
commit: dc6b9462c00873c8404a7966b7ca210717718af5
branch: master
author: Victor Stinner <victor.stinner at gmail.com>
committer: GitHub <noreply at github.com>
date: 2018-01-23T13:30:53+01:00
summary:

bpo-20361: Remove workaround for a now fixed bug (#5283)

"python3 -bb -Wd" now works as expected:
"python3 -bb -Wd -Werror::BytesWarning" is no more needed.

files:
M Tools/scripts/run_tests.py

diff --git a/Tools/scripts/run_tests.py b/Tools/scripts/run_tests.py
index 9fc37997683..3c1c3bd060b 100644
--- a/Tools/scripts/run_tests.py
+++ b/Tools/scripts/run_tests.py
@@ -30,9 +30,6 @@ def main(regrtest_args):
     # Allow user-specified interpreter options to override our defaults.
     args.extend(test.support.args_from_interpreter_flags())
 
-    # Workaround for issue #20361
-    args.extend(['-W', 'error::BytesWarning'])
-
     args.extend(['-m', 'test',    # Run the test suite
                  '-r',            # Randomize test order
                  '-w',            # Re-run failed tests in verbose mode



More information about the Python-checkins mailing list