Searched refs:get_except (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/ctypes/test/ |
D | test_structures.py | 322 cls, msg = self.get_except(Person, "Someone", (1, 2)) 335 cls, msg = self.get_except(Person, "Someone", ("a", "b", "c")) 356 def get_except(self, func, *args): member in StructureTestCase 367 cls, msg = self.get_except(meta, "X", (Structure,), {}) 375 cls, msg = self.get_except(eval, "X()", locals())
|
D | test_bitfields.py | 113 return self.get_except(type(Structure), "X", (), 190 def get_except(self, func, *args, **kw): member in BitFieldTest
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_structures.py | 332 cls, msg = self.get_except(Person, b"Someone", (1, 2)) 338 cls, msg = self.get_except(Person, b"Someone", (b"a", b"b", b"c")) 356 def get_except(self, func, *args): member in StructureTestCase 367 cls, msg = self.get_except(meta, "X", (Structure,), {}) 375 cls, msg = self.get_except(eval, "X()", locals())
|
D | test_bitfields.py | 116 return self.get_except(type(Structure), "X", (), 193 def get_except(self, func, *args, **kw): member in BitFieldTest
|