Skip to content

Commit 5dd42ae

Browse files
committed
cleanup
1 parent 76cb2a5 commit 5dd42ae

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

codeflash/optimization/optimizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def __init__(self, args: Namespace) -> None:
4444
tests_root=args.tests_root,
4545
tests_project_rootdir=args.test_project_root,
4646
project_root_path=args.project_root,
47-
pytest_cmd=args.pytest_cmd if hasattr(args, "pytest_cmd") else "pytest",
47+
pytest_cmd=args.pytest_cmd if hasattr(args, "pytest_cmd") and args.pytest_cmd else "pytest",
4848
benchmark_tests_root=args.benchmarks_root if "benchmark" in args and "benchmarks_root" in args else None,
4949
)
5050

codeflash/verification/concolic_testing.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ def generate_concolic_tests(
8181
tests_root=concolic_test_suite_dir,
8282
tests_project_rootdir=test_cfg.concolic_test_root_dir,
8383
project_root_path=args.project_root,
84-
pytest_cmd=args.pytest_cmd if hasattr(args, "pytest_cmd") else "pytest",
8584
)
8685
function_to_concolic_tests, num_discovered_concolic_tests, _ = discover_unit_tests(concolic_test_cfg)
8786
logger.info(

0 commit comments

Comments
 (0)