Cython has moved to github.

cython-devel

view tests/run/r_mitch_chapman_2.pyx @ 1622:4f0327bdebc9

test for temp allocation bug in call
author Robert Bradshaw <robertwb@math.washington.edu>
date Sat Jan 17 01:25:34 2009 -0800 (3 years ago)
parents 6309e21af543
children 70650f40ba75
line source
1 __doc__ = u"""
2 >>> boolExpressionsFail()
3 u'Not 2b'
4 """
6 import sys
7 if sys.version_info[0] >= 3:
8 __doc__ = __doc__.replace(u" u'", u" '")
10 def boolExpressionsFail():
11 dict = {1: 1}
12 if not "2b" in dict:
13 return u"Not 2b"
14 else:
15 return u"2b?"