Commit 5ced0c3f authored by Stefan Behnel's avatar Stefan Behnel

extended test case based on ticket #145

parent 555a5640
...@@ -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
...@@ -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
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