Revert "fixed test"

This reverts commit a80c955a48.
This commit is contained in:
eirannejad
2024-02-07 15:45:27 -06:00
parent f718d3d66b
commit 58dfc5292e

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__':
assert c.type == 'property'
if c.name == '__class__' and False: # TODO fix.
assert c.type == 'class'
else:
assert c.type in ('function', 'statement')