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
|
||||
obj.arbitrary_lookup
|
||||
|
||||
#! attribute-error
|
||||
#! name-error
|
||||
class_attr = a
|
||||
|
||||
Cls().defined_lookup('')
|
||||
@@ -39,3 +39,7 @@ c.instance_attr_error
|
||||
|
||||
|
||||
c.something = None
|
||||
|
||||
#! name-error
|
||||
something = a
|
||||
something
|
||||
Reference in new issue
Block a user