Lines Matching refs:goo
1379 goo = classmethod(foo)
1381 self.assertEqual(C.goo(1), (C, 1))
1382 self.assertEqual(c.goo(1), (C, 1))
1387 self.assertEqual(D.goo(1), (D, 1))
1388 self.assertEqual(d.goo(1), (D, 1))
1398 self.assertEqual(C.goo.im_self, C)
1399 self.assertEqual(D.goo.im_self, D)
1400 self.assertEqual(super(D,D).goo.im_self, D)
1401 self.assertEqual(super(D,d).goo.im_self, D)
1402 self.assertEqual(super(D,D).goo(), (D,))
1403 self.assertEqual(super(D,d).goo(), (D,))
1452 goo = staticmethod(foo)
1454 self.assertEqual(C.goo(1), (1,))
1455 self.assertEqual(c.goo(1), (1,))
1460 self.assertEqual(D.goo(1), (1,))
1461 self.assertEqual(d.goo(1), (1,))
1484 goo = classmethod(foo)
1486 self.assertEqual(C.goo(1), (C, 1))
1487 self.assertEqual(c.goo(1), (C, 1))
1492 self.assertEqual(D.goo(1), (D, 1))
1493 self.assertEqual(d.goo(1), (D, 1))
1682 goo = c1.foo
1686 self.assertEqual(d2.goo(), 1)