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 4ab32b9 commit 0397c3aCopy full SHA for 0397c3a
codeflash/result/create_pr.py
@@ -52,9 +52,13 @@ def existing_tests_source_for(
52
# TODO confirm that original and optimized have the same keys
53
all_invocation_ids = original_runtimes_all.keys() | optimized_runtimes_all.keys()
54
for invocation_id in all_invocation_ids:
55
- rel_path = (
56
- Path(invocation_id.test_module_path.replace(".", os.sep)).with_suffix(".py").relative_to(rel_tests_root)
57
- )
+ try:
+ rel_path = (
+ Path(invocation_id.test_module_path.replace(".", os.sep)).with_suffix(".py").relative_to(rel_tests_root)
58
+ )
59
+ except Exception as e:
60
+ logger.debug(e)
61
+ continue
62
if rel_path not in non_generated_tests:
63
continue
64
if rel_path not in original_tests_to_runtimes:
0 commit comments