Lines Matching refs:issubclass
70 self.assertFalse(issubclass(OldstyleClass, A))
71 self.assertFalse(issubclass(A, OldstyleClass))
90 self.assertFalse(issubclass(B, A))
91 self.assertFalse(issubclass(B, (A,)))
95 self.assertTrue(issubclass(B, A))
96 self.assertTrue(issubclass(B, (A,)))
102 self.assertTrue(issubclass(C, A))
103 self.assertTrue(issubclass(C, (A,)))
125 self.assertTrue(issubclass(int, A))
126 self.assertTrue(issubclass(int, (A,)))
132 self.assertTrue(issubclass(str, A))
133 self.assertTrue(issubclass(str, (A,)))
161 self.assertTrue(issubclass(A, A))
162 self.assertTrue(issubclass(A, (A,)))
165 self.assertFalse(issubclass(A, B))
166 self.assertFalse(issubclass(A, (B,)))
167 self.assertFalse(issubclass(B, A))
168 self.assertFalse(issubclass(B, (A,)))
174 self.assertTrue(issubclass(B1, A))
175 self.assertTrue(issubclass(B1, (A,)))
179 self.assertFalse(issubclass(C, B))
180 self.assertFalse(issubclass(C, (B,)))
181 self.assertFalse(issubclass(C, B1))
182 self.assertFalse(issubclass(C, (B1,)))
183 self.assertTrue(issubclass(C1, A))
184 self.assertTrue(issubclass(C1, (A,)))
185 self.assertTrue(issubclass(C1, B))
186 self.assertTrue(issubclass(C1, (B,)))
187 self.assertTrue(issubclass(C1, B1))
188 self.assertTrue(issubclass(C1, (B1,)))
192 self.assertTrue(issubclass(MyInt, A))
193 self.assertTrue(issubclass(MyInt, (A,)))