Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
5ced0c3f
Commit
5ced0c3f
authored
May 04, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extended test case based on ticket #145
parent
555a5640
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
tests/run/and.pyx
tests/run/and.pyx
+7
-0
tests/run/or.pyx
tests/run/or.pyx
+7
-0
No files found.
tests/run/and.pyx
View file @
5ced0c3f
...
@@ -52,3 +52,10 @@ def and2_no_result(a,b):
...
@@ -52,3 +52,10 @@ def and2_no_result(a,b):
'b *'
'b *'
"""
"""
a
and
b
a
and
b
def
and2_literal
():
"""
>>> and2_literal()
5
"""
return
True
and
5
tests/run/or.pyx
View file @
5ced0c3f
...
@@ -51,3 +51,10 @@ def or2_no_result(a,b):
...
@@ -51,3 +51,10 @@ def or2_no_result(a,b):
'a *'
'a *'
"""
"""
a
or
b
a
or
b
def
or2_literal
():
"""
>>> or2_literal()
5
"""
return
False
or
5
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