[New-bugs-announce] [issue38240] assertCountEqual is horribly misleading, sounds like only counts are being compared
report at bugs.python.org
Fri Sep 20 17:55:35 EDT 2019
New submission from Vitaly Kruglikov <vitaly.krug at gmail.com>:
assertCountEqual is a horribly misleading name because it misleads the programmer and reader of the test code into thinking that it only compares the counts of the elements.
It's name misrepresents what it does in a really bad way.
title: assertCountEqual is horribly misleading, sounds like only counts are being compared
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce