Loading conformance-test/test_26252.py +6 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,12 @@ for s in scripts: diff_opts = "" for proc in preproc: proc = replace_paths(proc, testv_path, ref_path, cut_path) subprocess.run(proc.split()) path_arg = proc.split()[-1] if "rm" in proc: if os.path.exists(path_arg) shutil.rmtree(path_arg) if "mkdir" in proc: Path(path_arg).mkdir(parents=True, exist_ok=True) @pytest.mark.parametrize("test_tag", list(test_dict.keys())) def test_26252(test_tag, encoder_path, decoder_path, renderer_path): Loading Loading
conformance-test/test_26252.py +6 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,12 @@ for s in scripts: diff_opts = "" for proc in preproc: proc = replace_paths(proc, testv_path, ref_path, cut_path) subprocess.run(proc.split()) path_arg = proc.split()[-1] if "rm" in proc: if os.path.exists(path_arg) shutil.rmtree(path_arg) if "mkdir" in proc: Path(path_arg).mkdir(parents=True, exist_ok=True) @pytest.mark.parametrize("test_tag", list(test_dict.keys())) def test_26252(test_tag, encoder_path, decoder_path, renderer_path): Loading