mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-19 10:31:48 +08:00
few NameError tests
This commit is contained in:
1 parent
9bcc4f8fd2
commit
99340dd2a1
1 file changed
+5
-1
@@ -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