Searched refs:cannot_set_attr (Results 1 - 1 of 1) sorted by last modified time
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A D | test_funcattrs.py | 16 def cannot_set_attr(self, obj, name, value, exceptions):
member in class:FuncAttrsTest 65 self.cannot_set_attr(self.b, 'func_globals', 2, TypeError)
75 self.cannot_set_attr(f, "func_closure", c, TypeError)
97 self.cannot_set_attr(self.b, '__name__', 7, TypeError)
98 self.cannot_set_attr(self.b, 'func_name', 7, TypeError)
106 self.cannot_set_attr(self.f.a, "__name__", 'a', AttributeError)
107 self.cannot_set_attr(self.fi.a, "__name__", 'a', AttributeError)
171 self.cannot_set_attr(self.f.a, "im_class", self.f, TypeError)
172 self.cannot_set_attr(self.fi.a, "im_class", self.f, TypeError)
178 self.cannot_set_attr(sel [all...] |
Completed in 49 milliseconds