Skip to content

Commit 60b356c

Browse files
committed
disable crosshair for concolic
1 parent 07cc91b commit 60b356c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

codeflash/verification/concolic_testing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ def generate_concolic_tests(
3636

3737
if (
3838
test_cfg.concolic_test_root_dir
39-
and isinstance(function_to_optimize_ast, (ast.FunctionDef, ast.AsyncFunctionDef))
39+
and isinstance(function_to_optimize_ast, ast.FunctionDef) # Exclude async functions
40+
and not isinstance(function_to_optimize_ast, ast.AsyncFunctionDef)
4041
and has_typed_parameters(function_to_optimize_ast, function_to_optimize.parents)
4142
):
4243
logger.info("Generating concolic opcode coverage tests for the original code…")

0 commit comments

Comments
 (0)