[issue25673] unittest assertLessEqual not working properly with lists

kehlert report at bugs.python.org
Thu Nov 19 13:34:52 EST 2015


New submission from kehlert:

I attached a file that explains the issue. Basically, assertLessEqual only seems to compare the first elements of the two lists and ignores the others. Thus a test can pass when it shouldn't.

----------
files: example.py
messages: 254920
nosy: kehlert
priority: normal
severity: normal
status: open
title: unittest assertLessEqual not working properly with lists
versions: Python 3.4
Added file: http://bugs.python.org/file41081/example.py

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


More information about the Python-bugs-list mailing list