summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/run_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/run_tests.py')
-rw-r--r--Tools/scripts/run_tests.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tools/scripts/run_tests.py b/Tools/scripts/run_tests.py
index e2a2050..a6c5da3 100644
--- a/Tools/scripts/run_tests.py
+++ b/Tools/scripts/run_tests.py
@@ -32,6 +32,12 @@ def main(regrtest_args):
]
# Allow user-specified interpreter options to override our defaults.
args.extend(test.support.args_from_interpreter_flags())
+
+ # Workaround for issue #20355
+ os.environ.pop("PYTHONWARNINGS", None)
+ # 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