[Patches] [ python-Patches-885008 ] Erroneous error message in test_types

SourceForge.net noreply at sourceforge.net
Mon Jan 26 15:11:29 EST 2004


Patches item #885008, was opened at 2004-01-26 21:11
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=885008&group_id=5470

Category: Tests
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Gerrit Holl (gerrit)
Assigned to: Nobody/Anonymous (nobody)
Summary: Erroneous error message in test_types

Initial Comment:
test_types.py states:
if 1 and 1: pass
else: raise TestFailed, '1 and 1 is false instead of false'

I think this should be:
if 1 and 1: pass
else: raise TestFailed, '1 and 1 is false instead of true'

This patch changes this.

(BTW, shouldn't "if True:" and "if False:" also be
here? I didn't add it to the patch, because I'm not
sure and it's no work to add, so just notifying should
be enough if the should be there)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=885008&group_id=5470



More information about the Patches mailing list