mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-19 20:11:12 +08:00
fixes python 2.5 problems
This commit is contained in:
@@ -14,6 +14,7 @@ class BaseOutput(object):
|
|||||||
'riscospath': 'os.path',
|
'riscospath': 'os.path',
|
||||||
'ntpath': 'os.path',
|
'ntpath': 'os.path',
|
||||||
'os2emxpath': 'os.path',
|
'os2emxpath': 'os.path',
|
||||||
|
'macpath': 'os.path',
|
||||||
'_io': 'io'
|
'_io': 'io'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -232,7 +232,8 @@ class TestRegression(Base):
|
|||||||
class TestFeature(Base):
|
class TestFeature(Base):
|
||||||
def test_full_name(self):
|
def test_full_name(self):
|
||||||
""" feature request #61"""
|
""" feature request #61"""
|
||||||
assert self.complete('import os; os.path.join')[0].full_name == 'os.path.join'
|
assert self.complete('import os; os.path.join')[0].full_name \
|
||||||
|
== 'os.path.join'
|
||||||
|
|
||||||
class TestSpeed(Base):
|
class TestSpeed(Base):
|
||||||
def _check_speed(time_per_run, number=10):
|
def _check_speed(time_per_run, number=10):
|
||||||
|
|||||||
Reference in New Issue
Block a user