forked from VimPlug/jedi
list comprehension static analysis test
This commit is contained in:
@@ -67,3 +67,11 @@ def return_one(something):
|
|||||||
|
|
||||||
#! attribute-error
|
#! attribute-error
|
||||||
return_one(''.undefined_attribute)
|
return_one(''.undefined_attribute)
|
||||||
|
|
||||||
|
#! name-error
|
||||||
|
[r for r in undefined]
|
||||||
|
|
||||||
|
#! name-error
|
||||||
|
[undefined for r in [1, 2]]
|
||||||
|
|
||||||
|
[r for r in [1, 2]]
|
||||||
|
|||||||
Reference in New Issue
Block a user