mirror of
https://github.com/boostorg/python.git
synced 2026-01-19 04:22:16 +00:00
Fix Python 3 incompatibility.
This commit is contained in:
@@ -8,6 +8,9 @@
|
||||
import dtype_ext
|
||||
import unittest
|
||||
import numpy
|
||||
import sys
|
||||
if (sys.version_info.major >= 3):
|
||||
long = int
|
||||
|
||||
class DtypeTestCase(unittest.TestCase):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user