From 683cbc4c340b7e3d24981ac1c8ac90fe776cda36 Mon Sep 17 00:00:00 2001 From: Kendall Date: Tue, 15 Nov 2022 09:40:06 -0500 Subject: [PATCH] fixed spelling error in testing.mdx (#20220) --- docs/source/en/testing.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/en/testing.mdx b/docs/source/en/testing.mdx index 2cf42205a6..cb03a57b04 100644 --- a/docs/source/en/testing.mdx +++ b/docs/source/en/testing.mdx @@ -178,7 +178,7 @@ pytest -k "test and ada" tests/test_optimization.py ``` ### Run documentation tests -In order to test whether the documentation examples are correct, you should checkt that the `doctests` are passing. +In order to test whether the documentation examples are correct, you should check that the `doctests` are passing. As an example, let's use [`WhisperModel.forward`'s docstring](https://github.com/huggingface/transformers/blob/main/src/transformers/models/whisper/modeling_whisper.py#L1017-L1035): ```python