From 0dc292bbb78949598e5449e0173e60f335b8a27f Mon Sep 17 00:00:00 2001 From: skv0zsneg Date: Sun, 12 Apr 2026 20:33:24 +0300 Subject: [PATCH] Improve assertCountEqual descripton in docs. --- 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 c7682c2274633b..6e0df0648fb8bf 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -1223,9 +1223,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. | | +---------------------------------------+--------------------------------+--------------+ | :meth:`assertStartsWith(a, b) | ``a.startswith(b)`` | 3.14 | | ` | | |