[issue22452] addTypeEqualityFunc is not used in assertListEqual

2021-08-07 Thread Irit Katriel
Irit Katriel added the comment: I've closed issue44819 as a duplicate of this. -- nosy: +iritkatriel versions: +Python 3.11 -Python 3.5 ___ Python tracker ___

[issue22452] addTypeEqualityFunc is not used in assertListEqual

2015-08-18 Thread Anton Barkovsky
Changes by Anton Barkovsky : -- nosy: +anton.barkovsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue22452] addTypeEqualityFunc is not used in assertListEqual

2014-11-07 Thread Robert Collins
Robert Collins added the comment: See also https://code.google.com/p/unittest-ext/issues/detail?id=27 "Sorry, wrong wording of the bug. I tested this on IronPython 2.6.1 and 2.7.b1. I see the same result as you and I consider the following wrong or at least misleading: - [1, Decimal("1"), Dec

[issue22452] addTypeEqualityFunc is not used in assertListEqual

2014-11-07 Thread Robert Collins
Robert Collins added the comment: https://code.google.com/p/unittest-ext/issues/detail?id=11 I think that the hamcrest inspired matchers stuff may help make this a reality too. OTOH if we had a clean patch now for the existing asserts that would be fine too. -- __

[issue22452] addTypeEqualityFunc is not used in assertListEqual

2014-11-01 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +rbcollins ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue22452] addTypeEqualityFunc is not used in assertListEqual

2014-09-21 Thread Ezio Melotti
Ezio Melotti added the comment: Currently assertListEqual calls assertSequenceEqual, and assertSequenceEqual doesn't use any function to compare list elements -- it just does "if item1 != item2:" (https://hg.python.org/cpython/file/default/Lib/unittest/case.py). Checking the types of the two

[issue22452] addTypeEqualityFunc is not used in assertListEqual

2014-09-21 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue22452] addTypeEqualityFunc is not used in assertListEqual

2014-09-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: That sounds reasonable to me. Do you want to provide a patch? See https://docs.python.org/devguide/ for guidelines. -- nosy: +ezio.melotti, michael.foord, pitrou stage: -> needs patch versions: +Python 3.5 ___ Python

[issue22452] addTypeEqualityFunc is not used in assertListEqual

2014-09-21 Thread Simon Zack
Changes by Simon Zack : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue22452] addTypeEqualityFunc is not used in assertListEqual

2014-09-21 Thread Simon Zack
New submission from Simon Zack: Functions added by addTypeEqualityFunc is not used for comparing list elements in assertListEqual, and only used in assertEqual. It would be nice to have assertListEqual use functions added by addTypeEqualityFunc for comparisons of list elements. I think this pr