Loading conformance-test/test_26252.py +2 −1 Original line number Diff line number Diff line Loading @@ -33,6 +33,7 @@ Execute tests specified via a parameter file. """ import os import shutil from pathlib import Path import filecmp import subprocess Loading Loading @@ -97,7 +98,7 @@ for s in scripts: proc = replace_paths(proc, testv_path, ref_path, cut_path) if 'rm' in proc: path = proc.split()[-1] if os.path.exists(path): os.remove(path) if os.path.exists(path): shutil.rmtree(path) if 'mkdir' in proc: path = proc.split()[-1] os.makedirs(path) Loading Loading
conformance-test/test_26252.py +2 −1 Original line number Diff line number Diff line Loading @@ -33,6 +33,7 @@ Execute tests specified via a parameter file. """ import os import shutil from pathlib import Path import filecmp import subprocess Loading Loading @@ -97,7 +98,7 @@ for s in scripts: proc = replace_paths(proc, testv_path, ref_path, cut_path) if 'rm' in proc: path = proc.split()[-1] if os.path.exists(path): os.remove(path) if os.path.exists(path): shutil.rmtree(path) if 'mkdir' in proc: path = proc.split()[-1] os.makedirs(path) Loading