[issue27071] unittest.TestCase.assertCountEqual is a very misleading name

Vitaly report at bugs.python.org
Mon May 23 17:48:28 EDT 2016


Vitaly added the comment:

With missing last line, this time:

======================================================================
FAIL: test_equal_count_of_different_elements (__main__.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "<stdin>", line 5, in test_equal_count_of_different_elements
AssertionError: Element counts were not equal:
First has 1, Second has 0:  3
First has 0, Second has 1:  4

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27071>
_______________________________________


More information about the Python-bugs-list mailing list