]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix test failure message (from SF patch #885008)
authorWalter Dörwald <walter@livinglogic.de>
Fri, 6 Feb 2004 18:30:31 +0000 (18:30 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Fri, 6 Feb 2004 18:30:31 +0000 (18:30 +0000)
Lib/test/test_types.py

index 7dbae7293f140987e3ba456c68069b451a4383af..1dd51650d0a09bfddb80bdfca89c4377785db955 100644 (file)
@@ -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'