This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients ammar2, rhettinger, vitaly.krug
Date 2020-09-05.20:02:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1599336161.88.0.939436877914.issue38240@roundup.psfhosted.org>
In-reply-to
Content
This should stay closed as a duplicate.

If you must, reopen of the original 27071, but it was closed for a reason.  The majority of respondents voted for the status quo.  Each alternative that was considered had its own share of problems.

BTW, it is hyperbolic to call the name "horribly misleading".  The method literally runs Counter and checks for equality.  The docstring is clear about this:

    def assertCountEqual(self, first, second, msg=None):
        """Asserts that two iterables have the same elements, the same number of
        times, without regard to order.

            self.assertEqual(Counter(list(first)),
                             Counter(list(second)))

         Example:
            - [0, 1, 1] and [1, 0, 1] compare equal.
            - [0, 0, 1] and [0, 1] compare unequal.

        """
History
Date User Action Args
2020-09-05 20:02:41rhettingersetrecipients: + rhettinger, ammar2, vitaly.krug
2020-09-05 20:02:41rhettingersetmessageid: <1599336161.88.0.939436877914.issue38240@roundup.psfhosted.org>
2020-09-05 20:02:41rhettingerlinkissue38240 messages
2020-09-05 20:02:41rhettingercreate