skip files in src/ for doctest (for now) (#39316)
fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -59,6 +59,13 @@ if __name__ == "__main__":
|
||||
|
||||
for file in all_doctest_files:
|
||||
file_dir = "/".join(Path(file).parents[0].parts)
|
||||
|
||||
# not to run files in `src/` for now as it is completely broken at this moment. See issues/39159 and
|
||||
# https://github.com/huggingface/transformers/actions/runs/15988670157
|
||||
# TODO (ydshieh): fix the error, ideally before 2025/09
|
||||
if file_dir.startswith("src/"):
|
||||
continue
|
||||
|
||||
raw_test_collection_map[file_dir].append(file)
|
||||
|
||||
refined_test_collection_map = {}
|
||||
|
||||
Reference in New Issue
Block a user