Turn off CPython warnings in tests
This commit is contained in:
parent
d8701e5136
commit
7f2f8e2d58
@ -524,7 +524,7 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1):
|
||||
"LANG": "en_US.UTF-8"}
|
||||
# run CPython to work out expected output
|
||||
try:
|
||||
output_expected = subprocess.check_output([CPYTHON3, '-B', test_file], env=e, stderr=subprocess.STDOUT)
|
||||
output_expected = subprocess.check_output([CPYTHON3, '-Wignore', '-B', test_file], env=e, stderr=subprocess.STDOUT)
|
||||
if args.write_exp:
|
||||
with open(test_file_expected, 'wb') as f:
|
||||
f.write(output_expected)
|
||||
|
Loading…
x
Reference in New Issue
Block a user