Commit e8aa2fe4 authored by Stefan Behnel's avatar Stefan Behnel

test simplification

parent c5366434
__doc__ = u""" __doc__ = u"""
>>> boolExpressionsFail() >>> boolExpressionsFail()
u'Not 2b' 'Not 2b'
""" """
import sys
if sys.version_info[0] >= 3:
__doc__ = __doc__.replace(u" u'", u" '")
def boolExpressionsFail(): def boolExpressionsFail():
dict = {1: 1} dict = {1: 1}
if not "2b" in dict: if not "2b" in dict:
return u"Not 2b" return "Not 2b"
else: else:
return u"2b?" return "2b?"
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