Fix test failure message (from SF patch #885008)

This commit is contained in:
Walter Dörwald 2004-02-06 18:30:31 +00:00
parent 0a83778572
commit 7dcf9f89d3
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ if not x: raise TestFailed, 'x is false instead of true'
print '6.2 Boolean operations' print '6.2 Boolean operations'
if 0 or 0: raise TestFailed, '0 or 0 is true instead of false' if 0 or 0: raise TestFailed, '0 or 0 is true instead of false'
if 1 and 1: pass 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' if not 1: raise TestFailed, 'not 1 is true instead of false'
print '6.3 Comparisons' print '6.3 Comparisons'