mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +08:00
few NameError tests
This commit is contained in:
@@ -23,7 +23,7 @@ class Cls():
|
|||||||
#! attribute-error
|
#! attribute-error
|
||||||
obj.arbitrary_lookup
|
obj.arbitrary_lookup
|
||||||
|
|
||||||
#! attribute-error
|
#! name-error
|
||||||
class_attr = a
|
class_attr = a
|
||||||
|
|
||||||
Cls().defined_lookup('')
|
Cls().defined_lookup('')
|
||||||
@@ -39,3 +39,7 @@ c.instance_attr_error
|
|||||||
|
|
||||||
|
|
||||||
c.something = None
|
c.something = None
|
||||||
|
|
||||||
|
#! name-error
|
||||||
|
something = a
|
||||||
|
something
|
||||||
|
|||||||
Reference in New Issue
Block a user