1
0
forked from VimPlug/jedi

fixed test

This commit is contained in:
eirannejad
2024-02-07 14:36:53 -06:00
parent fef43b5e3d
commit a80c955a48

View File

@@ -348,8 +348,8 @@ def test_parent_on_comprehension(Script):
def test_type(Script):
for c in Script('a = [str()]; a[0].').complete():
if c.name == '__class__' and False: # TODO fix.
assert c.type == 'class'
if c.name == '__class__':
assert c.type == 'property'
else:
assert c.type in ('function', 'statement')