[issue12067] Doc: remove errors about mixed-type comparisons.

Martin Panter report at bugs.python.org
Wed Jul 22 04:37:09 CEST 2015


Martin Panter added the comment:

Patch v15. No doc changes, but I refactored the test code:

* Manually merged with recent changes
* Separate assert_equality_only() and assert_total_order() test methods. Hopefully this is a bit simpler for people to understand and review, and avoids suggesting that partial ordering is tested.
* Dropped subTest() instances with identical parameters. The basic stack trace can already distinguish these.
* Eliminated is_value_comparable(); remove the ”meth” parameters from the call sites instead

----------
versions: +Python 3.6
Added file: http://bugs.python.org/file39970/issue12067-expressions-py3.5_v15.diff

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


More information about the Python-bugs-list mailing list