[issue40761] unittest.TestCase.asserTrue return True even if the expr is False

Steven D'Aprano report at bugs.python.org
Mon May 25 00:44:38 EDT 2020


Steven D'Aprano <steve+python at pearwood.info> added the comment:

Works for me in Python 3.7. See attached file.

Given that Python 3.5 is only longer accepting security fixes, and that numpy is a third-party library, unless you can reproduce this in a more recent version I think we should close this.

----------
nosy: +steven.daprano
Added file: https://bugs.python.org/file49191/test_asserttrue.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40761>
_______________________________________


More information about the Python-bugs-list mailing list