Cython has moved to github.

cython-devel

view tests/run/future_unicode_literals.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
children 0310198e281e
line source
1 from __future__ import unicode_literals
3 import sys
4 if sys.version_info[0] >= 3:
5 __doc__ = """
6 >>> u == 'test'
7 True
8 >>> isinstance(u, str)
9 True
10 """
11 else:
12 __doc__ = """
13 >>> u == u'test'
14 True
15 >>> isinstance(u, unicode)
16 True
17 """
19 u = "test"