Skip to content

Commit aaf0d22

Browse files
vmurashevstefanseefeld
authored andcommitted
tests for python3 - get rid of 'from past.builtins import long'
1 parent bb6f52d commit aaf0d22

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/long.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
44
import sys
55
if (sys.version_info.major >= 3):
6-
from past.builtins import long
6+
long = int
77
'''
88
>>> from long_ext import *
99
>>> print(new_long())

test/test_builtin_converters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
44
import sys
55
if (sys.version_info.major >= 3):
6-
from past.builtins import long
6+
long = int
77
r"""
88
>>> from builtin_converters_ext import *
99

0 commit comments

Comments
 (0)