@@ -73,10 +73,9 @@ def run_behavioral_tests(
7373 result_args = [f"--junitxml={ result_file_path .as_posix ()} " , "-o" , "junit_logging=all" ]
7474
7575 pytest_test_env = test_env .copy ()
76- pytest_test_env ["PYTEST_PLUGINS" ] = [
77- "codeflash.verification.pytest_plugin" ,
78- "codeflash.benchmarking.plugin.custom_plugin" ,
79- ]
76+ pytest_test_env ["PYTEST_PLUGINS" ] = (
77+ "codeflash.verification.pytest_plugin,codeflash.benchmarking.plugin.custom_plugin"
78+ )
8079
8180 if enable_coverage :
8281 coverage_database_file , coverage_config_file = prepare_coverage_files ()
@@ -194,10 +193,9 @@ def run_line_profile_tests(
194193 result_file_path = get_run_tmp_file (Path ("pytest_results.xml" ))
195194 result_args = [f"--junitxml={ result_file_path .as_posix ()} " , "-o" , "junit_logging=all" ]
196195 pytest_test_env = test_env .copy ()
197- pytest_test_env ["PYTEST_PLUGINS" ] = [
198- "codeflash.verification.pytest_plugin" ,
199- "codeflash.benchmarking.plugin.custom_pytest_plugin" ,
200- ]
196+ pytest_test_env ["PYTEST_PLUGINS" ] = (
197+ "codeflash.verification.pytest_plugin,codeflash.benchmarking.plugin.custom_plugin"
198+ )
201199 blocklist_args = [f"-p no:{ plugin } " for plugin in BENCHMARKING_BLOCKLISTED_PLUGINS ]
202200 pytest_test_env ["LINE_PROFILE" ] = "1"
203201 results = execute_test_subprocess (
@@ -258,10 +256,9 @@ def run_benchmarking_tests(
258256 result_file_path = get_run_tmp_file (Path ("pytest_results.xml" ))
259257 result_args = [f"--junitxml={ result_file_path .as_posix ()} " , "-o" , "junit_logging=all" ]
260258 pytest_test_env = test_env .copy ()
261- pytest_test_env ["PYTEST_PLUGINS" ] = [
262- "codeflash.verification.pytest_plugin" ,
263- "codeflash.benchmarking.plugin.custom_pytest_plugin" ,
264- ]
259+ pytest_test_env ["PYTEST_PLUGINS" ] = (
260+ "codeflash.verification.pytest_plugin,codeflash.benchmarking.plugin.custom_plugin"
261+ )
265262 blocklist_args = [f"-p no:{ plugin } " for plugin in BENCHMARKING_BLOCKLISTED_PLUGINS ]
266263 results = execute_test_subprocess (
267264 pytest_cmd_list + pytest_args + blocklist_args + result_args + test_files ,
0 commit comments