Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7dcf9f89
Commit
7dcf9f89
authored
Feb 06, 2004
by
Walter Dörwald
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test failure message (from SF patch #885008)
parent
0a837785
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Lib/test/test_types.py
Lib/test/test_types.py
+1
-1
No files found.
Lib/test/test_types.py
View file @
7dcf9f89
...
@@ -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
fals
e'
else
:
raise
TestFailed
,
'1 and 1 is false instead of
tru
e'
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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment