class documentation

class TestRecord:

View In Hierarchy

Undocumented

Method test​_aligned​_size Undocumented
Method test​_bool​_commastring Undocumented
Method test​_comma​_datetime Undocumented
Method test​_different​_names Undocumented
Method test​_different​_titles Undocumented
Method test​_equivalent​_record Test whether equivalent record dtypes hash the same.
Method test​_fieldless​_views Undocumented
Method test​_fields​_by​_index Undocumented
Method test​_from​_dict​_with​_zero​_width​_field Undocumented
Method test​_from​_dictproxy Undocumented
Method test​_multifield​_index Undocumented
Method test​_mutate Undocumented
Method test​_nonint​_offsets Undocumented
Method test​_not​_lists Test if an appropriate exception is raised when passing bad values to the dtype constructor.
Method test​_partial​_dict Undocumented
Method test​_refcount​_dictionary​_setting Undocumented
Method test​_subarray​_list Undocumented
Method test​_union​_struct Undocumented
def test_aligned_size(self):

Undocumented

def test_bool_commastring(self):

Undocumented

def test_comma_datetime(self):

Undocumented

def test_different_names(self):

Undocumented

def test_different_titles(self):

Undocumented

def test_equivalent_record(self):
Test whether equivalent record dtypes hash the same.
def test_fieldless_views(self):

Undocumented

def test_fields_by_index(self):

Undocumented

def test_from_dict_with_zero_width_field(self):

Undocumented

def test_from_dictproxy(self):

Undocumented

@pytest.mark.parametrize('align_flag', [False, True])
def test_multifield_index(self, align_flag):

Undocumented

def test_mutate(self):

Undocumented

def test_nonint_offsets(self):

Undocumented

def test_not_lists(self):
Test if an appropriate exception is raised when passing bad values to the dtype constructor.
def test_partial_dict(self):

Undocumented

@pytest.mark.skipif(not HAS_REFCOUNT, reason='Python lacks refcounts')
def test_refcount_dictionary_setting(self):

Undocumented

@pytest.mark.parametrize(['obj', 'dtype', 'expected'], [([], '(2)f4,', np.empty((0, 2), dtype='f4')), (3, '(3)f4,', [3, 3, 3]), (np.float64(2), '(2)f4,', [2, 2]), ([((0, 1), (1, 2)), ((2))], '(2,2)f4', None), (['1', '2'], '(2)i,', None)])
def test_subarray_list(self, obj, dtype, expected):

Undocumented

def test_union_struct(self):

Undocumented