Skip to content

Commit d1838fb

Browse files
Fix bug in test rematerialization []
1 parent fa13ef4 commit d1838fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎dev_tools/bin/edg-rematerialize-test-run‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def collect_affected_tests(test_home: Path,
169169
else:
170170
# Look for all mft files that might be associated with this file.
171171
for possible_test in file_path.iterdir():
172-
if possible_test.suffixes[0] == '.mft':
172+
if possible_test.suffixes[:1] == ['.mft']:
173173
result.tests.add(possible_test)
174174
test_file_found = True
175175
# File not found, move on to the parent.

0 commit comments

Comments
 (0)