From: Walter Dörwald Date: Fri, 6 Feb 2004 18:33:11 +0000 (+0000) Subject: Backport checkin: X-Git-Tag: v2.3.4c1~141 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=18c61cd6684fbb51997525e6e6821459001f7d29;p=thirdparty%2FPython%2Fcpython.git Backport checkin: Fix test failure message (from SF patch #885008) --- diff --git a/Lib/test/test_types.py b/Lib/test/test_types.py index f39c51a4d03a..242ca0188888 100644 --- a/Lib/test/test_types.py +++ b/Lib/test/test_types.py @@ -32,7 +32,7 @@ if not x: raise TestFailed, 'x is false instead of true' print '6.2 Boolean operations' if 0 or 0: raise TestFailed, '0 or 0 is true instead of false' if 1 and 1: pass -else: raise TestFailed, '1 and 1 is false instead of false' +else: raise TestFailed, '1 and 1 is false instead of true' if not 1: raise TestFailed, 'not 1 is true instead of false' print '6.3 Comparisons'