Skip to content

Commit 94d42bf

Browse files
authored
gh-148186: Improve assertCountEqual description in docs. (#148463)
1 parent fd81246 commit 94d42bf

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
@@ -1223,9 +1223,9 @@ Test cases
12231223
| :meth:`assertNotRegex(s, r) | ``not r.search(s)`` | 3.2 |
12241224
| <TestCase.assertNotRegex>` | | |
12251225
+---------------------------------------+--------------------------------+--------------+
1226-
| :meth:`assertCountEqual(a, b) | *a* and *b* have the same | 3.2 |
1227-
| <TestCase.assertCountEqual>` | elements in the same number, | |
1228-
| | regardless of their order. | |
1226+
| :meth:`assertCountEqual(a, b) | *a* contains the same elements | 3.2 |
1227+
| <TestCase.assertCountEqual>` | as *b*, regardless of their | |
1228+
| | order. | |
12291229
+---------------------------------------+--------------------------------+--------------+
12301230
| :meth:`assertStartsWith(a, b) | ``a.startswith(b)`` | 3.14 |
12311231
| <TestCase.assertStartsWith>` | | |

0 commit comments

Comments
 (0)