Skip to content

Commit

Permalink
Fix erroneous asserts.assert_count_equal docstring summary (#855)
Browse files Browse the repository at this point in the history
Co-authored-by: Ang Li <angli@google.com>
  • Loading branch information
artorl and xpconanfan committed Nov 30, 2022
1 parent 1b6e611 commit f788d41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mobly/asserts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f788d41

Please sign in to comment.