From d1e39e09afd7d67a4d7b2146fb1a1510bf25f938 Mon Sep 17 00:00:00 2001 From: Kliment Lamonov Date: Wed, 15 Apr 2026 02:39:16 +0300 Subject: [PATCH] gh-148186: Improve `assertCountEqual` description in docs. (GH-148463) (cherry picked from commit 94d42bf5c2b95417d6187a57fef94570ba017e33) Co-authored-by: Kliment Lamonov --- Doc/library/unittest.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 22316e25c5aa18..1a02066ff997f4 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -1211,9 +1211,9 @@ Test cases | :meth:`assertNotRegex(s, r) | ``not r.search(s)`` | 3.2 | | ` | | | +---------------------------------------+--------------------------------+--------------+ - | :meth:`assertCountEqual(a, b) | *a* and *b* have the same | 3.2 | - | ` | elements in the same number, | | - | | regardless of their order. | | + | :meth:`assertCountEqual(a, b) | *a* contains the same elements | 3.2 | + | ` | as *b*, regardless of their | | + | | order. | | +---------------------------------------+--------------------------------+--------------+