@@ -162,7 +162,7 @@ def create_trace_replay_test_code(
162162 benchmark_function_name = benchmark_function_name ,
163163 orig_function_name = function_name ,
164164 function_name = alias ,
165- file_path = file_path ,
165+ file_path = Path ( file_path ). as_posix () ,
166166 max_run_count = max_run_count ,
167167 )
168168 else :
@@ -176,7 +176,7 @@ def create_trace_replay_test_code(
176176 test_body = test_class_method_body .format (
177177 benchmark_function_name = benchmark_function_name ,
178178 orig_function_name = function_name ,
179- file_path = file_path ,
179+ file_path = Path ( file_path ). as_posix () ,
180180 class_name_alias = class_name_alias ,
181181 class_name = class_name ,
182182 method_name = method_name ,
@@ -187,7 +187,7 @@ def create_trace_replay_test_code(
187187 test_body = test_static_method_body .format (
188188 benchmark_function_name = benchmark_function_name ,
189189 orig_function_name = function_name ,
190- file_path = file_path ,
190+ file_path = Path ( file_path ). as_posix () ,
191191 class_name_alias = class_name_alias ,
192192 class_name = class_name ,
193193 method_name = method_name ,
@@ -198,7 +198,7 @@ def create_trace_replay_test_code(
198198 test_body = test_method_body .format (
199199 benchmark_function_name = benchmark_function_name ,
200200 orig_function_name = function_name ,
201- file_path = file_path ,
201+ file_path = Path ( file_path ). as_posix () ,
202202 class_name_alias = class_name_alias ,
203203 class_name = class_name ,
204204 method_name = method_name ,
0 commit comments