class documentation

class TestIndexing:

View In Hierarchy

Undocumented

Method test​_array​_like​_values Undocumented
Method test​_boolean​_assignment​_needs​_api Undocumented
Method test​_boolean​_assignment​_value​_mismatch Undocumented
Method test​_boolean​_indexing​_list Undocumented
Method test​_boolean​_indexing​_onedim Undocumented
Method test​_boolean​_indexing​_twodim Undocumented
Method test​_boolean​_shape​_mismatch Undocumented
Method test​_broaderrors​_indexing Undocumented
Method test​_broken​_sequence​_not​_nd​_index Undocumented
Method test​_character​_assignment Undocumented
Method test​_ellipsis​_index Undocumented
Method test​_empty​_fancy​_index Undocumented
Method test​_empty​_tuple​_index Undocumented
Method test​_everything​_returns​_views Undocumented
Method test​_index​_no​_array​_to​_index Undocumented
Method test​_index​_no​_floats Undocumented
Method test​_indexing​_array​_negative​_strides Undocumented
Method test​_indexing​_array​_weird​_strides Undocumented
Method test​_memory​_order Undocumented
Method test​_nonbaseclass​_values Undocumented
Method test​_none​_index Undocumented
Method test​_reverse​_strides​_and​_subspace​_bufferinit Undocumented
Method test​_reversed​_strides​_result​_allocation Undocumented
Method test​_same​_kind​_index​_casting Undocumented
Method test​_scalar​_array​_bool Undocumented
Method test​_scalar​_return​_type Undocumented
Method test​_single​_bool​_index Undocumented
Method test​_single​_int​_index Undocumented
Method test​_slicing​_no​_floats Undocumented
Method test​_small​_regressions Undocumented
Method test​_structured​_advanced​_indexing Undocumented
Method test​_subclass​_writeable Undocumented
Method test​_too​_many​_advanced​_indices Undocumented
Method test​_too​_many​_fancy​_indices​_special​_case Undocumented
Method test​_trivial​_fancy​_not​_possible Undocumented
Method test​_trivial​_fancy​_out​_of​_bounds Undocumented
Method test​_tuple​_subclass Undocumented
Method test​_unaligned Undocumented
Method test​_uncontiguous​_subspace​_assignment Undocumented
Method test​_void​_scalar​_empty​_tuple Undocumented
def test_array_like_values(self):

Undocumented

def test_boolean_assignment_needs_api(self):

Undocumented

def test_boolean_assignment_value_mismatch(self):

Undocumented

def test_boolean_indexing_list(self):

Undocumented

def test_boolean_indexing_onedim(self):

Undocumented

def test_boolean_indexing_twodim(self):

Undocumented

def test_boolean_shape_mismatch(self):

Undocumented

def test_broaderrors_indexing(self):

Undocumented

def test_broken_sequence_not_nd_index(self):

Undocumented

def test_character_assignment(self):

Undocumented

def test_ellipsis_index(self):

Undocumented

def test_empty_fancy_index(self):

Undocumented

def test_empty_tuple_index(self):

Undocumented

def test_everything_returns_views(self):

Undocumented

def test_index_no_array_to_index(self):

Undocumented

def test_index_no_floats(self):

Undocumented

def test_indexing_array_negative_strides(self):

Undocumented

def test_indexing_array_weird_strides(self):

Undocumented

def test_memory_order(self):

Undocumented

def test_nonbaseclass_values(self):

Undocumented

def test_none_index(self):

Undocumented

def test_reverse_strides_and_subspace_bufferinit(self):

Undocumented

def test_reversed_strides_result_allocation(self):

Undocumented

def test_same_kind_index_casting(self):

Undocumented

def test_scalar_array_bool(self):

Undocumented

def test_scalar_return_type(self):

Undocumented

def test_single_bool_index(self):

Undocumented

def test_single_int_index(self):

Undocumented

def test_slicing_no_floats(self):

Undocumented

def test_small_regressions(self):

Undocumented

def test_structured_advanced_indexing(self):

Undocumented

def test_subclass_writeable(self):

Undocumented

@pytest.mark.parametrize('index', [True, False, np.array([0])])
@pytest.mark.parametrize('num', [32, 40])
@pytest.mark.parametrize('original_ndim', [1, 32])
def test_too_many_advanced_indices(self, index, num, original_ndim):

Undocumented

def test_too_many_fancy_indices_special_case(self):

Undocumented

def test_trivial_fancy_not_possible(self):

Undocumented

def test_trivial_fancy_out_of_bounds(self):

Undocumented

def test_tuple_subclass(self):

Undocumented

def test_unaligned(self):

Undocumented

def test_uncontiguous_subspace_assignment(self):

Undocumented

def test_void_scalar_empty_tuple(self):

Undocumented