We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dd0962 commit 97de78bCopy full SHA for 97de78b
1 file changed
codeflash/discovery/discover_unit_tests.py
@@ -624,10 +624,9 @@ def process_test_files(
624
except Exception as e:
625
logger.debug(str(e))
626
continue
627
-
628
- if not definition or definition[0].type != "function":
629
- continue
630
try:
+ if not definition or definition[0].type != "function":
+ continue
631
definition_obj = definition[0]
632
definition_path = str(definition_obj.module_path)
633
0 commit comments