~ubuntu-branches/ubuntu/precise/cython/precise

« back to all changes in this revision

Viewing changes to tests/run/unsigned.pyx

  • Committer: Bazaar Package Importer
  • Author(s): Python Applications Packaging Team, Ryan Kavanagh, Jakub Wilk, Piotr Ożarowski
  • Date: 2009-08-10 23:18:51 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090810231851-i6f7mr1ij1h2czkp
Tags: 0.11.2-1
[ Ryan Kavanagh ]
* New upstream release (Closes: #525620, #536213)

[ Jakub Wilk ]
* debian/rules: remove generated files.

[ Piotr Ożarowski ]
* Standards-Version bumped to 3.8.2 (no change needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
__doc__ = """
 
1
import sys
 
2
 
 
3
if sys.version_info[0] >= 3:
 
4
    __doc__ = u"""
 
5
    >>> test_signed()
 
6
    3 <class 'int'>
 
7
    9 <class 'int'>
 
8
    6 <class 'int'>
 
9
    12 <class 'int'>
 
10
"""
 
11
else:
 
12
    __doc__ = u"""
2
13
    >>> test_signed()
3
14
    3 <type 'int'>
4
15
    9 <type 'long'>
6
17
    12 <type 'long'>
7
18
"""
8
19
 
9
 
 
10
20
cdef int i = 1
11
21
cdef long l = 2
12
22
cdef unsigned int ui = 4