From 6654289f5b350dfca3dc4f6abab777459b906756 Mon Sep 17 00:00:00 2001 From: rharri Date: Fri, 29 Jul 2022 02:20:31 -0400 Subject: [PATCH] Fixed typo in docs/topics/testing/tools.txt. --- 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 9e3d2c4956..c2e844517a 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1742,7 +1742,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.