Fix file, long, raw_input, and xrange for Python 3

This commit is contained in:
cclauss
2019-01-05 21:19:37 +01:00
parent 2da5a78d86
commit 00d8f39840
12 changed files with 46 additions and 20 deletions

View File

@@ -6,6 +6,11 @@ import unittest
from kdtree import KDTree_2Int, KDTree_4Int, KDTree_3Float, KDTree_4Float, KDTree_6Float
try:
long
except NameError:
long = int
class KDTree_2IntTestCase(unittest.TestCase):
def test_empty(self):