Skip to content

Commit c1e1345

Browse files
committed
run_tests.py ignores deprecationwarnings
1 parent 8caed03 commit c1e1345

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libensemble/tests/run_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def skip_config(directives, args, comm):
303303

304304
def make_run_line(python_exec, test_script, comm, nprocs, args):
305305
"""Build run line"""
306-
cmd = python_exec + cov_opts + [test_script]
306+
cmd = python_exec + ["-W", "ignore::DeprecationWarning"] + cov_opts + [test_script]
307307
if comm == "mpi":
308308
cmd = ["mpiexec", "-np", str(nprocs)] + (args.a.split() if args.a else []) + cmd
309309
else:

0 commit comments

Comments
 (0)