Skip to content

Commit 5e6d97d

Browse files
committed
Update code_context_extractor.py
1 parent 9fb36ae commit 5e6d97d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

codeflash/context/code_context_extractor.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -470,10 +470,6 @@ def parse_code_and_prune_cst(
470470
filtered_node, found_target = prune_cst_for_testgen_code(
471471
module, target_functions, helpers_of_helper_functions, remove_docstrings=remove_docstrings
472472
)
473-
else:
474-
msg = f"Unknown code_context_type: {code_context_type}"
475-
raise ValueError(msg)
476-
477473
if not found_target:
478474
msg = "No target functions found in the provided code"
479475
raise ValueError(msg)

0 commit comments

Comments
 (0)