This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Erroneous error message in test_types
Type: Stage:
Components: Tests Versions: Python 2.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: doerwalter, gerrit
Priority: normal Keywords: patch

Created on 2004-01-26 20:11 by gerrit, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_types.diff gerrit, 2004-01-26 20:11 patch created with 'cvs diff -u test_types.py'
Messages (2)
msg45321 - (view) Author: Gerrit Holl (gerrit) Date: 2004-01-26 20:11
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)
msg45322 - (view) Author: Walter Dörwald (doerwalter) * (Python committer) Date: 2004-02-06 18:38
Logged In: YES 
user_id=89016

Checked in as:
Lib/test/test_types.py 1.57 and 1.55.8.1

Note that test_types.py will be rewritten anyway as a PyUnit
test, s. The "if True:" and "if False:" tests might be part
of test_bool.py already.
History
Date User Action Args
2022-04-11 14:56:02adminsetgithub: 39872
2004-01-26 20:11:29gerritcreate