mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-03 03:31:05 +06:00
Fix command of doc tests for local testing (#18236)
* Fix command of doc tests for local testing * Fix command for after running doc tests locally
This commit is contained in:
parent
45a1475462
commit
bd87480d20
@ -28,7 +28,7 @@
|
||||
When debugging the doc tests locally, please make sure to
|
||||
always run:
|
||||
|
||||
```python utils/prepare_for_doc_test.py src doc```
|
||||
```python utils/prepare_for_doc_test.py src docs```
|
||||
|
||||
before running the doc tests:
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
|
||||
Afterwards you should revert the changes by running
|
||||
|
||||
```python utils/prepare_for_doc_test.py src doc --remove_new_line```
|
||||
```python utils/prepare_for_doc_test.py src docs --remove_new_line```
|
||||
"""
|
||||
|
||||
import argparse
|
||||
|
Loading…
Reference in New Issue
Block a user