https://github.com/python/cpython/commit/5dc69a65027238cf88c4a2f1675be0c9f4f1496b
commit: 5dc69a65027238cf88c4a2f1675be0c9f4f1496b
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: ericvsmith <[email protected]>
date: 2026-04-14T23:45:18Z
summary:

[3.14] gh-148186: Improve `assertCountEqual` description in docs. (GH-148463) 
(#148585)

gh-148186: Improve `assertCountEqual` description in docs. (GH-148463)
(cherry picked from commit 94d42bf5c2b95417d6187a57fef94570ba017e33)

Co-authored-by: Kliment Lamonov <[email protected]>

files:
M Doc/library/unittest.rst

diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 67ae1d9157358d..d12bd0744a4c92 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -1221,9 +1221,9 @@ Test cases
    | :meth:`assertNotRegex(s, r)           | ``not r.search(s)``            | 
3.2          |
    | <TestCase.assertNotRegex>`            |                                |  
            |
    
+---------------------------------------+--------------------------------+--------------+
-   | :meth:`assertCountEqual(a, b)         | *a* and *b* have the same      | 
3.2          |
-   | <TestCase.assertCountEqual>`          | elements in the same number,   |  
            |
-   |                                       | regardless of their order.     |  
            |
+   | :meth:`assertCountEqual(a, b)         | *a* contains the same elements | 
3.2          |
+   | <TestCase.assertCountEqual>`          | as *b*, regardless of their    |  
            |
+   |                                       | order.                         |  
            |
    
+---------------------------------------+--------------------------------+--------------+
    | :meth:`assertStartsWith(a, b)         | ``a.startswith(b)``            | 
3.14         |
    | <TestCase.assertStartsWith>`          |                                |  
            |

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to