forked from VimPlug/jedi
fixed test
This commit is contained in:
@@ -348,8 +348,8 @@ def test_parent_on_comprehension(Script):
|
|||||||
|
|
||||||
def test_type(Script):
|
def test_type(Script):
|
||||||
for c in Script('a = [str()]; a[0].').complete():
|
for c in Script('a = [str()]; a[0].').complete():
|
||||||
if c.name == '__class__' and False: # TODO fix.
|
if c.name == '__class__':
|
||||||
assert c.type == 'class'
|
assert c.type == 'property'
|
||||||
else:
|
else:
|
||||||
assert c.type in ('function', 'statement')
|
assert c.type in ('function', 'statement')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user