list comprehension static analysis test
This commit is contained in:
1 parent
4e596060b9
commit
552502a2e9
1 file changed
+8
@@ -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