diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-02-24 12:00:38 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-02-24 12:00:38 (GMT) |
commit | eb44b2d9e838323be04a2dc92532f3d2dbbf05d5 (patch) | |
tree | 876882ef035ab8a2224176f57f6ab7441d6fc3f6 /Tools | |
parent | c2ab0b6ac8c1fbff7aa82fc9abc4ef02369f301a (diff) | |
parent | 20f8728bf0cce877c1908b15ddc59e2d1011ad0f (diff) | |
download | cpython-eb44b2d9e838323be04a2dc92532f3d2dbbf05d5.zip cpython-eb44b2d9e838323be04a2dc92532f3d2dbbf05d5.tar.gz cpython-eb44b2d9e838323be04a2dc92532f3d2dbbf05d5.tar.bz2 |
Issue #20535: PYTHONWARNING no longer affects the run_tests.py script.
Patch by Arfrever Frehtes Taifersar Arahesis.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/scripts/run_tests.py | 6 |
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 |