mirror of
https://github.com/python/cpython.git
synced 2024-12-01 22:04:04 +08:00
Fix test failure message (from SF patch #885008)
This commit is contained in:
parent
0a83778572
commit
7dcf9f89d3
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user