From 088537710feae0b20f25b1b36741c61e21fc1485 Mon Sep 17 00:00:00 2001 From: rharri Date: Fri, 29 Jul 2022 02:20:31 -0400 Subject: [PATCH] [4.1.x] Fixed typo in docs/topics/testing/tools.txt. Backport of 6654289f5b350dfca3dc4f6abab777459b906756 from main --- docs/topics/testing/tools.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 90da7d91c7..b2ad760f00 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1753,7 +1753,8 @@ your test suite. .. method:: SimpleTestCase.assertInHTML(needle, haystack, count=None, msg_prefix='') - Asserts that the HTML fragment ``needle`` is contained in the ``haystack`` one. + Asserts that the HTML fragment ``needle`` is contained in the ``haystack`` + once. If the ``count`` integer argument is specified, then additionally the number of ``needle`` occurrences will be strictly verified.