mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00

* Revert "Revert "[Doctests] Refactor doctests + add CI" (#23245)"
This reverts commit 69ee46243c
.
* try not expose HfDocTestParser
* move into testing_utils.py
* remove pytest install
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
3 lines
92 B
INI
3 lines
92 B
INI
[tool:pytest]
|
|
doctest_optionflags=NUMBER NORMALIZE_WHITESPACE ELLIPSIS
|
|
doctest_glob=**/*.mdx |