Fix file, long, raw_input, and xrange for Python 3
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user