aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArt Orlov <74026764+artorl@users.noreply.github.com>2022-11-30 13:03:20 -0800
committerGitHub <noreply@github.com>2022-11-30 13:03:20 -0800
commitf788d4181d6ec10f2a881ca56ef9b7a3b09ae0ee (patch)
treecbd371fa0ee0d7857b29cff32ce130d4a9b4956e
parent1b6e611e937bf4b59ffa5b8fe8056d0b7ed205b6 (diff)
downloadmobly-f788d4181d6ec10f2a881ca56ef9b7a3b09ae0ee.tar.gz
Fix erroneous asserts.assert_count_equal docstring summary (#855)
Co-authored-by: Ang Li <angli@google.com>
-rw-r--r--mobly/asserts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mobly/asserts.py b/mobly/asserts.py
index e3fa007..70e1256 100644
--- a/mobly/asserts.py
+++ b/mobly/asserts.py
@@ -181,9 +181,9 @@ def assert_is_not(expr1, expr2, msg=None, extras=None):
def assert_count_equal(first, second, msg=None, extras=None):
- """Asserts that two iterables have the same element count.
+ """Asserts that two iterables have the same elements, the same number of
+ times, without regard to order.
- Element order does not matter.
Similar to assert_equal(Counter(list(first)), Counter(list(second))).
Args: