[Python-Dev] Std test failures on WIndows: test_compare, test_minidom
Neil 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