Lines Matching refs:file
40 for file in os.listdir(path):
41 file_path = os.path.join(path, file)
80 def remove_file(file): argument
81 if os.path.exists(file):
82 os.remove(file)
94 with open(file_list[i], "r") as file:
95 output_file.write(file.read())
147 for file in os.listdir(tests_dir_path):
148 del_file_paths.append(process_file(file, case_list, dir_path, tests_dir_path))
149 for file in os.listdir(dir_path):
150 if file not in case_list:
151 del_file_paths.append(os.path.join(dir_path, file))
153 case_path = os.path.join(dir_path, file)
160 def process_file(file, case_list, dir_path, tests_dir_path): argument
161 if file not in case_list:
162 return os.path.join(dir_path, file)
164 need_case_path = os.path.join(tests_dir_path, file)
165 case_data_file = file.replace(JS_FILE_SUFFIX, CASE_DATA_SUFFIX)