mirror of
https://github.com/boostorg/python.git
synced 2026-01-19 16:32:16 +00:00
tests for python3 - get rid of 'from past.builtins import long'
This commit is contained in:
committed by
Stefan Seefeld
parent
bb6f52dc35
commit
aaf0d220ae
@@ -3,7 +3,7 @@
|
||||
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
import sys
|
||||
if (sys.version_info.major >= 3):
|
||||
from past.builtins import long
|
||||
long = int
|
||||
'''
|
||||
>>> from long_ext import *
|
||||
>>> print(new_long())
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
import sys
|
||||
if (sys.version_info.major >= 3):
|
||||
from past.builtins import long
|
||||
long = int
|
||||
r"""
|
||||
>>> from builtin_converters_ext import *
|
||||
|
||||
|
||||
Reference in New Issue
Block a user