Commit 7dcf9f89 authored by Walter Dörwald's avatar Walter Dörwald

Fix test failure message (from SF patch #885008)

parent 0a837785
...@@ -28,7 +28,7 @@ if not x: raise TestFailed, 'x is false instead of true' ...@@ -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'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment