From: Walter Dörwald Date: Fri, 6 Feb 2004 18:30:31 +0000 (+0000) Subject: Fix test failure message (from SF patch #885008) X-Git-Tag: v2.4a1~869 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7dcf9f89d331f5445d4972fa186778ed868945bc;p=thirdparty%2FPython%2Fcpython.git Fix test failure message (from SF patch #885008) --- diff --git a/Lib/test/test_types.py b/Lib/test/test_types.py index 7dbae7293f14..1dd51650d0a0 100644 --- a/Lib/test/test_types.py +++ b/Lib/test/test_types.py @@ -28,7 +28,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'