Skip to content

Commit f030f41

Browse files
committed
precommit fix
1 parent 76603f2 commit f030f41

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

codeflash/verification/test_runner.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ 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-
)
76+
pytest_test_env["PYTEST_PLUGINS"] = "codeflash.verification.pytest_plugin"
7977

8078
if enable_coverage:
8179
coverage_database_file, coverage_config_file = prepare_coverage_files()
@@ -193,9 +191,7 @@ def run_line_profile_tests(
193191
result_file_path = get_run_tmp_file(Path("pytest_results.xml"))
194192
result_args = [f"--junitxml={result_file_path.as_posix()}", "-o", "junit_logging=all"]
195193
pytest_test_env = test_env.copy()
196-
pytest_test_env["PYTEST_PLUGINS"] = (
197-
"codeflash.verification.pytest_plugin,codeflash.benchmarking.plugin"
198-
)
194+
pytest_test_env["PYTEST_PLUGINS"] = "codeflash.verification.pytest_plugin,codeflash.benchmarking.plugin"
199195
blocklist_args = [f"-p no:{plugin}" for plugin in BENCHMARKING_BLOCKLISTED_PLUGINS]
200196
pytest_test_env["LINE_PROFILE"] = "1"
201197
results = execute_test_subprocess(
@@ -256,9 +252,7 @@ def run_benchmarking_tests(
256252
result_file_path = get_run_tmp_file(Path("pytest_results.xml"))
257253
result_args = [f"--junitxml={result_file_path.as_posix()}", "-o", "junit_logging=all"]
258254
pytest_test_env = test_env.copy()
259-
pytest_test_env["PYTEST_PLUGINS"] = (
260-
"codeflash.verification.pytest_plugin,codeflash.benchmarking.plugin"
261-
)
255+
pytest_test_env["PYTEST_PLUGINS"] = "codeflash.verification.pytest_plugin,codeflash.benchmarking.plugin"
262256
blocklist_args = [f"-p no:{plugin}" for plugin in BENCHMARKING_BLOCKLISTED_PLUGINS]
263257
results = execute_test_subprocess(
264258
pytest_cmd_list + pytest_args + blocklist_args + result_args + test_files,

0 commit comments

Comments
 (0)