Lines Matching defs:Phone
278 class Phone(Structure):
284 ("phone", Phone),
290 self.assertEqual(p.phone.areacode, "1234")
291 self.assertEqual(p.phone.number, "5678")
315 class Phone(Structure):
321 ("phone", Phone),
329 "(Phone) <type 'exceptions.TypeError'>: "
333 "(Phone) exceptions.TypeError: "
340 "(Phone) <type 'exceptions.TypeError'>: too many initializers")
342 self.assertEqual(msg, "(Phone) exceptions.TypeError: too many initializers")