2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 18:12:43 +00:00

fix long test case

[SVN r54834]
This commit is contained in:
Haoyu Bai
2009-07-09 16:52:14 +00:00
parent c4c7fe6dc0
commit ff0e58d30d

View File

@@ -3,12 +3,12 @@
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
'''
>>> from long_ext import *
>>> new_long()
0L
>>> longify(42)
42L
>>> longify_string('300')
300L
>>> print new_long()
0
>>> print longify(42)
42
>>> print longify_string('300')
300
>>> is_long(20L)
'yes'
>>> is_long('20')