Lines Matching defs:Phone
279 class Phone(Structure):
285 ("phone", Phone),
291 self.assertEqual(p.phone.areacode, "1234")
292 self.assertEqual(p.phone.number, "5678")
312 class Phone(Structure):
318 ("phone", Phone),
326 "(Phone) <type 'exceptions.TypeError'>: "
331 "(Phone) exceptions.TypeError: "
338 "(Phone) <type 'exceptions.TypeError'>: too many initializers")
340 self.assertEqual(msg, "(Phone) exceptions.TypeError: too many initializers")