Home | History | Annotate | Download | only in test

Lines Matching defs:Proxy

1851         class Proxy(object):
1865 return "Proxy:%s" % self.x
1867 return "Proxy(%r)" % self.x
1870 p0 = Proxy(0)
1871 p1 = Proxy(1)
1872 p_1 = Proxy(-1)
1883 self.assertEqual(str(p0), "Proxy:0")
1884 self.assertEqual(repr(p0), "Proxy(0)")
1885 p10 = Proxy(range(10))
4302 # Testing proxy isinstance() and isclass()...
4303 class Proxy(object):
4315 pa = Proxy(a)
4322 pa = Proxy(a)
4329 pa = Proxy(a)
4336 pa = Proxy(a)
4341 # Testing super() for a proxy object...
4342 class Proxy(object):
4360 p = Proxy(obj)
4715 # Testing dict-proxy iterkeys...
4722 # Testing dict-proxy itervalues...
4727 # Testing dict-proxy iteritems...
4740 # In 2.3a1, C.__dict__ was a real dict rather than a dict proxy