A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-January/011291.html below:

[Python-Dev] Std test failures on WIndows: test_compare, test_minidom

[Python-Dev] Std test failures on WIndows: test_compare, test_minidomNeil Schemenauer nas@arctrix.com
Tue, 2 Jan 2001 08:09:15 -0800
On Tue, Jan 02, 2001 at 03:48:08PM -0500, Tim Peters wrote:
> test_compare is broken because the expected-output file has bizarre stuff in
> it like:
> 
>     cmp(2, [1]) = -108
>     cmp(2, (2,)) = -116
>     cmp(2, None) = -78
> 
> What's up with that?

My fault.  I only ran regrtest.py and not "make test".  I'm not
sure why you say bizarre stuff though.  Do you object to testing
that 2 is less than None (something that is not part of the
language spec) or do you think that the results from cmp() should
be clamped between -1 and 1?

  Neil



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4