transformers
2e12b325 - [tests_fetcher] fix missing .as_posix() in preprocessor_patterns path keys (#49994)

Commit
26 days ago
[tests_fetcher] fix missing .as_posix() in preprocessor_patterns path keys (#49994) * [tests_fetcher] fix missing .as_posix() in preprocessor_patterns path keys `str(path.relative_to(PATH_TO_REPO))` produces backslash-separated paths on Windows, which don't match the forward-slash keys used everywhere else in `reverse_map`. Use `.as_posix()` consistently, matching the existing pattern used in the backbone-map block just above. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * [tests_fetcher] also fix .as_posix() in create_reverse_dependency_tree/map all_modules Same Windows-path issue: str() on a Path gives backslashes, but all keys throughout tests_fetcher use forward-slash paths. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
Author
Parents
Loading