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 0397c3a commit 44cd31dCopy full SHA for 44cd31d
codeflash/code_utils/edit_generated_tests.py
@@ -241,8 +241,11 @@ def add_runtime_comments_to_generated_tests(
241
"""Add runtime performance comments to function calls in generated tests."""
242
tests_root = test_cfg.tests_root
243
module_root = test_cfg.project_root_path
244
- rel_tests_root = tests_root.relative_to(module_root)
245
-
+ try:
+ rel_tests_root = tests_root.relative_to(module_root)
246
+ except Exception as e:
247
+ logger.debug(e)
248
+ return generated_tests
249
# Process each generated test
250
modified_tests = []
251
for test in generated_tests.generated_tests:
0 commit comments