Skip to content

Commit 049f516

Browse files
skv0zsnegmiss-islington
authored andcommitted
gh-148186: Improve assertCountEqual description in docs. (GH-148463)
(cherry picked from commit 94d42bf5c2b95417d6187a57fef94570ba017e33) Co-authored-by: Kliment Lamonov <klimentlamonov@yandex.ru>
1 parent d26fef1 commit 049f516

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/unittest.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,9 +1221,9 @@ Test cases
12211221
| :meth:`assertNotRegex(s, r) | ``not r.search(s)`` | 3.2 |
12221222
| <TestCase.assertNotRegex>` | | |
12231223
+---------------------------------------+--------------------------------+--------------+
1224-
| :meth:`assertCountEqual(a, b) | *a* and *b* have the same | 3.2 |
1225-
| <TestCase.assertCountEqual>` | elements in the same number, | |
1226-
| | regardless of their order. | |
1224+
| :meth:`assertCountEqual(a, b) | *a* contains the same elements | 3.2 |
1225+
| <TestCase.assertCountEqual>` | as *b*, regardless of their | |
1226+
| | order. | |
12271227
+---------------------------------------+--------------------------------+--------------+
12281228
| :meth:`assertStartsWith(a, b) | ``a.startswith(b)`` | 3.14 |
12291229
| <TestCase.assertStartsWith>` | | |

0 commit comments

Comments
 (0)