We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fb36ae commit 5e6d97dCopy full SHA for 5e6d97d
codeflash/context/code_context_extractor.py
@@ -470,10 +470,6 @@ def parse_code_and_prune_cst(
470
filtered_node, found_target = prune_cst_for_testgen_code(
471
module, target_functions, helpers_of_helper_functions, remove_docstrings=remove_docstrings
472
)
473
- else:
474
- msg = f"Unknown code_context_type: {code_context_type}"
475
- raise ValueError(msg)
476
-
477
if not found_target:
478
msg = "No target functions found in the provided code"
479
raise ValueError(msg)
0 commit comments