class documentation

class TestFromCTypes: (source)

View In Hierarchy

Undocumented

Static Method check Undocumented
Method test_array Undocumented
Method test_big_endian_structure Undocumented
Method test_big_endian_structure_packed Undocumented
Method test_bit_fields Undocumented
Method test_large_packed_structure Undocumented
Method test_little_endian_structure Undocumented
Method test_little_endian_structure_packed Undocumented
Method test_packed_structure Undocumented
Method test_padded_structure Undocumented
Method test_pairs Check that np.dtype('x,y') matches [np.dtype('x'), np.dtype('y')] Example: np.dtype('d,I') -> dtype([('f0', '<f8'), ('f1', '<u4')])
Method test_pointer Undocumented
Method test_simple_endian_types Undocumented
Method test_union Undocumented
Method test_union_packed Undocumented
Method test_union_with_struct_packed Undocumented
Method test_void_pointer Undocumented
Class Variable all_pairs Undocumented
Class Variable all_types Undocumented
@staticmethod
def check(ctype, dtype): (source)

Undocumented

def test_array(self): (source)

Undocumented

def test_big_endian_structure(self): (source)

Undocumented

def test_big_endian_structure_packed(self): (source)

Undocumented

def test_bit_fields(self): (source)

Undocumented

def test_large_packed_structure(self): (source)

Undocumented

def test_little_endian_structure(self): (source)

Undocumented

def test_little_endian_structure_packed(self): (source)

Undocumented

def test_packed_structure(self): (source)

Undocumented

def test_padded_structure(self): (source)

Undocumented

@pytest.mark.parametrize('pair', all_pairs)
def test_pairs(self, pair): (source)

Check that np.dtype('x,y') matches [np.dtype('x'), np.dtype('y')] Example: np.dtype('d,I') -> dtype([('f0', '<f8'), ('f1', '<u4')])

def test_pointer(self): (source)

Undocumented

def test_simple_endian_types(self): (source)

Undocumented

def test_union(self): (source)

Undocumented

def test_union_packed(self): (source)

Undocumented

def test_union_with_struct_packed(self): (source)

Undocumented

def test_void_pointer(self): (source)

Undocumented

all_pairs = (source)

Undocumented

all_types = (source)

Undocumented