Home | History | Annotate | Download | only in test

Lines Matching refs:Proxy

1968         class Proxy(object):
1982 return "Proxy:%s" % self.x
1984 return "Proxy(%r)" % self.x
1987 p0 = Proxy(0)
1988 p1 = Proxy(1)
1989 p_1 = Proxy(-1)
2000 self.assertEqual(str(p0), "Proxy:0")
2001 self.assertEqual(repr(p0), "Proxy(0)")
2002 p10 = Proxy(range(10))
4452 # Testing proxy isinstance() and isclass()...
4453 class Proxy(object):
4465 pa = Proxy(a)
4472 pa = Proxy(a)
4479 pa = Proxy(a)
4486 pa = Proxy(a)
4491 # Testing super() for a proxy object...
4492 class Proxy(object):
4510 p = Proxy(obj)
4865 # Testing dict-proxy iterkeys...
4872 # Testing dict-proxy itervalues...
4877 # Testing dict-proxy iteritems...
4890 # In 2.3a1, C.__dict__ was a real dict rather than a dict proxy