]> granicus.if.org Git - python/commitdiff
bpo-20361: Remove workaround for a now fixed bug (#5283)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 23 Jan 2018 12:30:53 +0000 (13:30 +0100)
committerGitHub <noreply@github.com>
Tue, 23 Jan 2018 12:30:53 +0000 (13:30 +0100)
"python3 -bb -Wd" now works as expected:
"python3 -bb -Wd -Werror::BytesWarning" is no more needed.

Tools/scripts/run_tests.py

index 9fc3799768362f8c423050cc176edbe3bcfbe6b9..3c1c3bd060bff87e163b411253a178c9a87fafa4 100644 (file)
@@ -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