Skip to content

Commit

Permalink
fix test fetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
gante committed Aug 30, 2024
1 parent 7a73268 commit 807c582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/tests_fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ def infer_tests_to_run(
# Then we grab the corresponding test files.
test_map = create_module_to_test_map(reverse_map=reverse_map, filter_models=filter_models)
for f in modified_files + impacted_files:
if f in test_map:
if f in test_map and test_map[f] is not None:
test_files_to_run.extend(test_map[f])
test_files_to_run = sorted(set(test_files_to_run))
# Remove repo utils tests
Expand Down

0 comments on commit 807c582

Please sign in to comment.