class documentation

class TestMethods: (source)

View In Hierarchy

Undocumented

Method assert_partitioned Undocumented
Method test__complex__ Undocumented
Method test__complex__should_not_work Undocumented
Method test__deepcopy__ Undocumented
Method test__deepcopy__catches_failure Undocumented
Method test_all_where Undocumented
Method test_any_where Undocumented
Method test_argpartition_empty_array Undocumented
Method test_argpartition_gh5524 Undocumented
Method test_argpartition_integer Undocumented
Method test_argpartition_out_of_range Undocumented
Method test_argsort Undocumented
Method test_arr_mult Undocumented
Method test_choose Undocumented
Method test_compress Undocumented
Method test_conjugate Undocumented
Method test_conjugate_out Undocumented
Method test_copy Undocumented
Method test_diagonal Undocumented
Method test_diagonal_memleak Undocumented
Method test_diagonal_view_notwriteable Undocumented
Method test_dot Undocumented
Method test_dot_matmul_inner_array_casting_fails Undocumented
Method test_dot_matmul_out Undocumented
Method test_dot_out_mem_overlap Undocumented
Method test_dot_type_mismatch Undocumented
Method test_flatten Undocumented
Method test_matmul_out Undocumented
Method test_no_dgemv Undocumented
Method test_partition Undocumented
Method test_partition_cdtype Undocumented
Method test_partition_empty_array Undocumented
Method test_partition_fuzz Undocumented
Method test_partition_integer Undocumented
Method test_partition_iterative Undocumented
Method test_partition_out_of_range Undocumented
Method test_partition_unicode_kind Undocumented
Method test_prod Undocumented
Method test_put Undocumented
Method test_ravel Undocumented
Method test_ravel_subclass Undocumented
Method test_repeat Undocumented
Method test_reshape Undocumented
Method test_round Undocumented
Method test_searchsorted_complex Undocumented
Method test_searchsorted_floats Undocumented
Method test_searchsorted_n_elements Undocumented
Method test_searchsorted_resetting Undocumented
Method test_searchsorted_return_type Undocumented
Method test_searchsorted_type_specific Undocumented
Method test_searchsorted_unaligned_array Undocumented
Method test_searchsorted_unicode Undocumented
Method test_searchsorted_with_invalid_sorter Undocumented
Method test_searchsorted_with_sorter Undocumented
Method test_size_zero_memleak Undocumented
Method test_sort Undocumented
Method test_sort_axis Undocumented
Method test_sort_bad_ordering Undocumented
Method test_sort_complex Undocumented
Method test_sort_complex_byte_swapping Undocumented
Method test_sort_degraded Undocumented
Method test_sort_object Undocumented
Method test_sort_order Undocumented
Method test_sort_raises Undocumented
Method test_sort_signed Undocumented
Method test_sort_size_0 Undocumented
Method test_sort_string Undocumented
Method test_sort_structured Undocumented
Method test_sort_time Undocumented
Method test_sort_unicode_kind Undocumented
Method test_sort_unsigned Undocumented
Method test_squeeze Undocumented
Method test_swapaxes Undocumented
Method test_trace Undocumented
Method test_trace_subclass Undocumented
Method test_transpose Undocumented
Method test_void_sort Undocumented
Class Variable sort_kinds Undocumented
def assert_partitioned(self, d, kth): (source)

Undocumented

def test__complex__(self): (source)

Undocumented

def test__complex__should_not_work(self): (source)

Undocumented

@pytest.mark.parametrize('dtype', ['O', np.int32, 'i,O'])
def test__deepcopy__(self, dtype): (source)

Undocumented

def test__deepcopy__catches_failure(self): (source)

Undocumented

def test_all_where(self): (source)

Undocumented

def test_any_where(self): (source)

Undocumented

@pytest.mark.parametrize('kth_dtype', np.typecodes['AllInteger'])
def test_argpartition_empty_array(self, kth_dtype): (source)

Undocumented

@pytest.mark.parametrize('kth_dtype', np.typecodes['AllInteger'])
def test_argpartition_gh5524(self, kth_dtype): (source)

Undocumented

def test_argpartition_integer(self): (source)

Undocumented

@pytest.mark.parametrize('dtype', np.typecodes['All'])
def test_argpartition_out_of_range(self, dtype): (source)

Undocumented

def test_argsort(self): (source)

Undocumented

@pytest.mark.parametrize('func', (np.dot, np.matmul))
def test_arr_mult(self, func): (source)

Undocumented

def test_choose(self): (source)

Undocumented

def test_compress(self): (source)

Undocumented

def test_conjugate(self): (source)

Undocumented

def test_conjugate_out(self): (source)

Undocumented

def test_copy(self): (source)

Undocumented

def test_diagonal(self): (source)

Undocumented

def test_diagonal_memleak(self): (source)

Undocumented

def test_diagonal_view_notwriteable(self): (source)

Undocumented

def test_dot(self): (source)

Undocumented

def test_dot_matmul_inner_array_casting_fails(self): (source)

Undocumented

def test_dot_matmul_out(self): (source)

Undocumented

def test_dot_out_mem_overlap(self): (source)

Undocumented

def test_dot_type_mismatch(self): (source)

Undocumented

def test_flatten(self): (source)

Undocumented

def test_matmul_out(self): (source)

Undocumented

@pytest.mark.parametrize('func', (np.dot, np.matmul))
@pytest.mark.parametrize('dtype', 'ifdFD')
def test_no_dgemv(self, func, dtype): (source)

Undocumented

def test_partition(self): (source)

Undocumented

def test_partition_cdtype(self): (source)

Undocumented

@pytest.mark.parametrize('kth_dtype', np.typecodes['AllInteger'])
def test_partition_empty_array(self, kth_dtype): (source)

Undocumented

def test_partition_fuzz(self): (source)

Undocumented

def test_partition_integer(self): (source)

Undocumented

def test_partition_iterative(self): (source)

Undocumented

@pytest.mark.parametrize('dtype', np.typecodes['All'])
def test_partition_out_of_range(self, dtype): (source)

Undocumented

def test_partition_unicode_kind(self): (source)

Undocumented

def test_prod(self): (source)

Undocumented

def test_put(self): (source)

Undocumented

def test_ravel(self): (source)

Undocumented

def test_ravel_subclass(self): (source)

Undocumented

def test_repeat(self): (source)

Undocumented

def test_reshape(self): (source)

Undocumented

def test_round(self): (source)

Undocumented

def test_searchsorted_complex(self): (source)

Undocumented

@pytest.mark.parametrize('a', [np.array([0, 1, np.nan], dtype=np.float16), np.array([0, 1, np.nan], dtype=np.float32), np.array([0, 1, np.nan])])
def test_searchsorted_floats(self, a): (source)

Undocumented

def test_searchsorted_n_elements(self): (source)

Undocumented

def test_searchsorted_resetting(self): (source)

Undocumented

def test_searchsorted_return_type(self): (source)

Undocumented

def test_searchsorted_type_specific(self): (source)

Undocumented

def test_searchsorted_unaligned_array(self): (source)

Undocumented

def test_searchsorted_unicode(self): (source)

Undocumented

def test_searchsorted_with_invalid_sorter(self): (source)

Undocumented

def test_searchsorted_with_sorter(self): (source)

Undocumented

def test_size_zero_memleak(self): (source)

Undocumented

def test_sort(self): (source)

Undocumented

def test_sort_axis(self): (source)

Undocumented

def test_sort_bad_ordering(self): (source)

Undocumented

@pytest.mark.parametrize('dtype', [np.float32, np.float64, np.longdouble])
@pytest.mark.parametrize('part', ['real', 'imag'])
def test_sort_complex(self, part, dtype): (source)

Undocumented

def test_sort_complex_byte_swapping(self): (source)

Undocumented

def test_sort_degraded(self): (source)

Undocumented

def test_sort_object(self): (source)

Undocumented

def test_sort_order(self): (source)

Undocumented

def test_sort_raises(self): (source)

Undocumented

@pytest.mark.parametrize('dtype', [np.int8, np.int16, np.int32, np.int64, np.float16, np.float32, np.float64, np.longdouble])
def test_sort_signed(self, dtype): (source)

Undocumented

def test_sort_size_0(self): (source)

Undocumented

@pytest.mark.parametrize('dtype', [np.bytes_, np.unicode_])
def test_sort_string(self, dtype): (source)

Undocumented

def test_sort_structured(self): (source)

Undocumented

@pytest.mark.parametrize('dtype', ['datetime64[D]', 'timedelta64[D]'])
def test_sort_time(self, dtype): (source)

Undocumented

def test_sort_unicode_kind(self): (source)

Undocumented

@pytest.mark.parametrize('dtype', [np.uint8, np.uint16, np.uint32, np.uint64, np.float16, np.float32, np.float64, np.longdouble])
def test_sort_unsigned(self, dtype): (source)

Undocumented

def test_squeeze(self): (source)

Undocumented

def test_swapaxes(self): (source)

Undocumented

def test_trace(self): (source)

Undocumented

def test_trace_subclass(self): (source)

Undocumented

def test_transpose(self): (source)

Undocumented

def test_void_sort(self): (source)

Undocumented

sort_kinds: list[str] = (source)

Undocumented