mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
list comprehension static analysis test
This commit is contained in:
@@ -67,3 +67,11 @@ def return_one(something):
|
||||
|
||||
#! attribute-error
|
||||
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