diff options
author | Walter Dörwald <walter@livinglogic.de> | 2004-02-06 18:30:31 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2004-02-06 18:30:31 (GMT) |
commit | 7dcf9f89d331f5445d4972fa186778ed868945bc (patch) | |
tree | 9bfe286bc06b08536fb739eb238d9559b3d2986f /Lib | |
parent | 0a83778572276c2ed0c7d3184508a4a1635c2f94 (diff) | |
download | cpython-7dcf9f89d331f5445d4972fa186778ed868945bc.zip cpython-7dcf9f89d331f5445d4972fa186778ed868945bc.tar.gz cpython-7dcf9f89d331f5445d4972fa186778ed868945bc.tar.bz2 |
Fix test failure message (from SF patch #885008)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_types.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_types.py b/Lib/test/test_types.py index 7dbae72..1dd5165 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' |