Home | History | Annotate | Download | only in test

Lines Matching refs:Proxy

2091         class Proxy(object):
2111 return "Proxy:%s" % self.x
2113 return "Proxy(%r)" % self.x
2116 p0 = Proxy(0)
2117 p1 = Proxy(1)
2118 p_1 = Proxy(-1)
2130 self.assertEqual(str(p0), "Proxy:0")
2131 self.assertEqual(repr(p0), "Proxy(0)")
2132 p10 = Proxy(range(10))
4195 # Testing proxy isinstance() and isclass()...
4196 class Proxy(object):
4208 pa = Proxy(a)
4215 pa = Proxy(a)
4222 pa = Proxy(a)
4229 pa = Proxy(a)
4234 # Testing super() for a proxy object...
4235 class Proxy(object):
4253 p = Proxy(obj)
4738 # Testing dict-proxy keys...
4749 # Testing dict-proxy values...
4758 # Testing dict-proxy iteritems...
4773 # In 2.3a1, C.__dict__ was a real dict rather than a dict proxy