few NameError tests

This commit is contained in:
Dave Halter
2014-05-13 16:17:06 +02:00
parent 9bcc4f8fd2
commit 99340dd2a1

View File

@@ -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