Lines Matching refs:cls2
3032 for cls2 in C, D, E, F:
3034 x.__class__ = cls2
3035 self.assertTrue(x.__class__ is cls2)
3095 for cls, cls2 in ((G, H), (G, I), (I, H), (Q, R), (R, Q)):
3098 x.__class__ = cls2
3099 self.assertTrue(x.__class__ is cls2,
3100 "assigning %r as __class__ for %r silently failed" % (cls2, x))
3107 for cls2 in G, J, K, L, M, N, P, R, list, Int:
3108 if cls is cls2:
3110 cant(cls(), cls2)
3272 cls2 = p.loads(s)
3273 self.assertTrue(cls2 is cls)
3302 cls2 = copy.deepcopy(cls)
3303 self.assertTrue(cls2 is cls)