mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-16 02:27:06 +08:00
fixes python 2.5 problems
This commit is contained in:
@@ -14,6 +14,7 @@ class BaseOutput(object):
|
||||
'riscospath': 'os.path',
|
||||
'ntpath': 'os.path',
|
||||
'os2emxpath': 'os.path',
|
||||
'macpath': 'os.path',
|
||||
'_io': 'io'
|
||||
}
|
||||
|
||||
|
||||
@@ -232,7 +232,8 @@ class TestRegression(Base):
|
||||
class TestFeature(Base):
|
||||
def test_full_name(self):
|
||||
""" 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):
|
||||
def _check_speed(time_per_run, number=10):
|
||||
|
||||
Reference in New Issue
Block a user