/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
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(self.f.b, "im_func", self.b, TypeError [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
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(self.f.b, "im_func", self.b, TypeError [all...] |