class documentation

class TestRegression: (source)

View In Hierarchy

Undocumented

Method test_0d_string_scalar Undocumented
Method test_2d__array__shape Undocumented
Method test__array_interface__descr Undocumented
Method test_add_identity Undocumented
Method test_alignment_update Undocumented
Method test_any_float Undocumented
Method test_arange_endian Undocumented
Method test_arange_inf_step Undocumented
Method test_arange_non_native_dtype Undocumented
Method test_arange_underflow_stop_and_step Undocumented
Method test_argmax Undocumented
Method test_argmax_byteorder Undocumented
Method test_arr_transpose Undocumented
Method test_array_from_sequence_scalar_array Undocumented
Method test_array_from_sequence_scalar_array2 Undocumented
Method test_array_index Undocumented
Method test_array_ndmin_overflow Ticket #947.
Method test_array_resize_method_system_error Undocumented
Method test_array_scalar_contiguous Undocumented
Method test_array_side_effect Undocumented
Method test_array_str_64bit Undocumented
Method test_array_too_big Undocumented
Method test_asarray_with_order Undocumented
Method test_assign_from_sequence_error Undocumented
Method test_assign_obj_listoflists Undocumented
Method test_astype_copy Undocumented
Method test_attributes Undocumented
Method test_bad_array_interface Undocumented
Method test_binary_repr_0 Undocumented
Method test_binary_repr_0_width Undocumented
Method test_blasdot_uninitialized_memory Undocumented
Method test_bool Undocumented
Method test_bool_flat_indexing_invalid_nr_elements Undocumented
Method test_bool_subscript_crash Undocumented
Method test_broadcast_flat_assignment Undocumented
Method test_buffer_hashlib Undocumented
Method test_byteswap_complex_scalar Undocumented
Method test_char_array_creation Undocumented
Method test_char_dump Undocumented
Method test_character_array_strip Undocumented
Method test_chararray_rstrip Undocumented
Method test_complex64_alignment Undocumented
Method test_complex_boolean_cast Undocumented
Method test_complex_conversion_error Undocumented
Method test_complex_nan_maximum Undocumented
Method test_complex_scalar_complex_cast Undocumented
Method test_complex_scalar_warning Undocumented
Method test_compress_small_type Undocumented
Method test_convolve_empty Undocumented
Method test_copy_detection_corner_case Undocumented
Method test_copy_detection_corner_case2 Undocumented
Method test_copy_detection_zero_dim Undocumented
Method test_copymodule_preserves_f_contiguity Undocumented
Method test_correct_hash_dict Undocumented
Method test_deepcopy_empty_object_array Undocumented
Method test_deepcopy_F_order_object_array Undocumented
Method test_deepcopy_on_0d_array Undocumented
Method test_dot_alignment_sse2 Undocumented
Method test_dot_big_stride Undocumented
Method test_dot_negative_stride Undocumented
Method test_dtype_keyerrors_ Undocumented
Method test_dtype_names Undocumented
Method test_dtype_posttuple Undocumented
Method test_dtype_repr Undocumented
Method test_dtype_scalar_squeeze Undocumented
Method test_dtype_tuple Undocumented
Method test_duplicate_field_names_assign Undocumented
Method test_duplicate_title_and_name Undocumented
Method test_eff1d_casting Undocumented
Method test_empty_array_type Undocumented
Method test_empty_mul Undocumented
Method test_empty_percentile Undocumented
Method test_endian_bool_indexing Undocumented
Method test_endian_recarray Undocumented
Method test_endian_where Undocumented
Method test_eq_string_and_object_array Undocumented
Method test_fancy_index Undocumented
Method test_field_access_by_title Undocumented
Method test_fields_strides gh-2355
Method test_find_common_type_boolean Undocumented
Method test_flat_assignment Undocumented
Method test_flat_byteorder Undocumented
Method test_flat_index_byteswap Undocumented
Method test_for_equal_names Undocumented
Method test_for_object_scalar_creation Undocumented
Method test_for_zero_length_in_choose Ticket #882
Method test_format_on_flex_array_element Undocumented
Method test_fortran_order_buffer Undocumented
Method test_fromfile_tofile_seeks Undocumented
Method test_fromiter_bytes Undocumented
Method test_fromiter_comparison Undocumented
Method test_frompyfunc_endian Undocumented
Method test_frompyfunc_many_args Undocumented
Method test_frompyfunc_name Undocumented
Method test_frompyfunc_nout_0 Undocumented
Method test_fromstring Undocumented
Method test_fromstring_crash Undocumented
Method test_hstack_invalid_dims Undocumented
Method test_huge_arange Undocumented
Method test_indexing1 Undocumented
Method test_indexing2 Undocumented
Method test_invalid_round Undocumented
Method test_invalid_structured_dtypes Undocumented
Method test_junk_in_string_fields_of_recarray Undocumented
Method test_large_float_sum Undocumented
Method test_leak_in_structured_dtype_comparison Undocumented
Method test_lexsort Undocumented
Method test_lexsort_buffer_length Undocumented
Method test_lexsort_invalid_axis Undocumented
Method test_lexsort_invalid_sequence Undocumented
Method test_lexsort_zerolen_custom_strides Undocumented
Method test_lexsort_zerolen_custom_strides_2d Undocumented
Method test_lexsort_zerolen_element Undocumented
Method test_log1p_compiler_shenanigans Undocumented
Method test_mem_0d_array_index Undocumented
Method test_mem_around Undocumented
Method test_mem_array_creation_invalid_specification Undocumented
Method test_mem_axis_minimization Undocumented
Method test_mem_custom_float_to_array Undocumented
Method test_mem_deallocation_leak Undocumented
Method test_mem_divmod Undocumented
Method test_mem_dot Undocumented
Method test_mem_dtype_align Undocumented
Method test_mem_empty Undocumented
Method test_mem_float_imag Undocumented
Method test_mem_fromiter_invalid_dtype_string Undocumented
Method test_mem_lexsort_strings Undocumented
Method test_mem_on_invalid_dtype Ticket #583
Method test_mem_scalar_indexing Undocumented
Method test_mem_string_arr Undocumented
Method test_memoryleak Undocumented
Method test_method_args Undocumented
Method test_misaligned_dot_product_objects Undocumented
Method test_misaligned_objects_segfault Undocumented
Method test_misaligned_scalars_segfault Undocumented
Method test_mixed_string_byte_array_creation Undocumented
Method test_multidim_byteswap Undocumented
Method test_multiple_assign Undocumented
Method test_ndmin_float64 Undocumented
Method test_ndmin_order Undocumented
Method test_negative_nd_indexing Undocumented
Method test_nonarray_assignment Undocumented
Method test_noncommutative_reduce_accumulate Undocumented
Method test_noncontiguous_fill Undocumented
Method test_nonnative_endian_fill Undocumented
Method test_nonscalar_item_method Undocumented
Method test_nonzero_byteswap Undocumented
Method test_numeric_carray_compare Undocumented
Method test_numpy_float_python_long_addition Undocumented
Method test_object_argmax Undocumented
Method test_object_array_assign Undocumented
Method test_object_array_circular_reference Undocumented
Method test_object_array_fill Undocumented
Method test_object_array_from_list Undocumented
Method test_object_array_nested Undocumented
Method test_object_array_refcount_self_assign Undocumented
Method test_object_array_refcounting Undocumented
Method test_object_array_self_copy Undocumented
Method test_object_array_self_reference Undocumented
Method test_object_array_shape Undocumented
Method test_object_array_to_fixed_string Undocumented
Method test_object_casting Undocumented
Method test_object_casting_errors Undocumented
Method test_objectarray_setfield Undocumented
Method test_pickle_bytes_overwrite Undocumented
Method test_pickle_datetime64_array Undocumented
Method test_pickle_dtype Undocumented
Method test_pickle_empty_string Undocumented
Method test_pickle_module Undocumented
Method test_pickle_py2_array_latin1_hack Undocumented
Method test_pickle_py2_bytes_encoding Undocumented
Method test_pickle_py2_scalar_latin1_hack Undocumented
Method test_pickle_string_overwrite Undocumented
Method test_pickle_transposed Undocumented
Method test_rand_seed Undocumented
Method test_random_shuffle Undocumented
Method test_ravel_with_order Undocumented
Method test_rec_fromarray Undocumented
Method test_rec_iterate Undocumented
Method test_recarray_copy Undocumented
Method test_recarray_fields Undocumented
Method test_recarray_single_element Undocumented
Method test_recarray_tolist Undocumented
Method test_reduce Undocumented
Method test_reduce_big_object_array Undocumented
Method test_reduce_contiguous Undocumented
Method test_refcount_error_in_clip Undocumented
Method test_refcount_vdot Undocumented
Method test_repeat_broadcasting Undocumented
Method test_repeat_discont Undocumented
Method test_reshape_order Undocumented
Method test_reshape_size_overflow Undocumented
Method test_reshape_trailing_ones_strides Undocumented
Method test_reshape_zero_size Undocumented
Method test_reshape_zero_strides Undocumented
Method test_richcompare_crash Undocumented
Method test_richcompare_scalar_and_subclass Undocumented
Method test_round Undocumented
Method test_scalar_compare Undocumented
Method test_scalar_copy Undocumented
Method test_search_sorted_invalid_arguments Undocumented
Method test_searchsorted_variable_length Undocumented
Method test_searchsorted_wrong_dtype Undocumented
Method test_setting_rank0_string Ticket #1736
Method test_sign_bit Undocumented
Method test_sign_for_complex_nan Undocumented
Method test_signed_integer_division_overflow Undocumented
Method test_sort_bigendian Undocumented
Method test_squeeze_axis_handling Undocumented
Method test_squeeze_contiguous Undocumented
Method test_squeeze_type Undocumented
Method test_startswith Undocumented
Method test_string_argsort_with_zeros Undocumented
Method test_string_array_size Undocumented
Method test_string_astype Ticket #1748
Method test_string_mergesort Undocumented
Method test_string_NULL Undocumented
Method test_string_sort_with_zeros Undocumented
Method test_string_truncation Undocumented
Method test_string_truncation_ucs2 Undocumented
Method test_structarray_title Undocumented
Method test_structured_arrays_with_objects1 Undocumented
Method test_structured_arrays_with_objects2 Undocumented
Method test_structured_count_nonzero Undocumented
Method test_structured_type_to_object Undocumented
Method test_subclass_int_tuple_assignment Undocumented
Method test_swap_real Undocumented
Method test_take_object_fail Undocumented
Method test_take_output Undocumented
Method test_take_refcount Undocumented
Method test_ticket_1434 Undocumented
Method test_ticket_1538 Undocumented
Method test_ticket_1539 Undocumented
Method test_ticket_1608 x.flat shouldn't modify data
Method test_ticket_1756 Undocumented
Method test_ticket_1770 Should not segfault on python 3k
Method test_to_ctypes Undocumented
Method test_tobytes_FORTRANORDER_discontiguous Undocumented
Method test_ufunc_casting_out Undocumented
Method test_ufunc_no_unnecessary_views Undocumented
Method test_ufunc_order Undocumented
Method test_ufunc_reduce_memoryleak Undocumented
Method test_uint_int_conversion Undocumented
Method test_unaligned_unicode_access Undocumented
Method test_unicode_alloc_dealloc_match Undocumented
Method test_unicode_scalar Undocumented
Method test_unicode_string_comparison Undocumented
Method test_unicode_swapping Undocumented
Method test_unicode_to_string_cast Undocumented
Method test_unicode_to_string_cast_error Undocumented
Method test_unique_stable Undocumented
Method test_unpickle_dtype_with_object Undocumented
Method test_void_compare_segfault Undocumented
Method test_void_copyswap Undocumented
Method test_void_getitem Undocumented
Method test_void_item_memview Undocumented
Method test_void_scalar_constructor Undocumented
Method test_void_scalar_with_titles Undocumented
Method test_zero_sized_array_indexing Undocumented
Method test_zeros Undocumented
Method test_zeros_order Undocumented
Method test_zerosize_accumulate Ticket #1733
def test_0d_string_scalar(self): (source)

Undocumented

def test_2d__array__shape(self): (source)

Undocumented

def test__array_interface__descr(self): (source)

Undocumented

def test_add_identity(self): (source)

Undocumented

def test_alignment_update(self): (source)

Undocumented

def test_any_float(self): (source)

Undocumented

def test_arange_endian(self): (source)

Undocumented

def test_arange_inf_step(self): (source)

Undocumented

def test_arange_non_native_dtype(self): (source)

Undocumented

def test_arange_underflow_stop_and_step(self): (source)

Undocumented

def test_argmax(self): (source)

Undocumented

def test_argmax_byteorder(self): (source)

Undocumented

def test_arr_transpose(self): (source)

Undocumented

def test_array_from_sequence_scalar_array(self): (source)

Undocumented

def test_array_from_sequence_scalar_array2(self): (source)

Undocumented

def test_array_index(self): (source)

Undocumented

def test_array_ndmin_overflow(self): (source)

Ticket #947.

def test_array_resize_method_system_error(self): (source)

Undocumented

def test_array_scalar_contiguous(self): (source)

Undocumented

def test_array_side_effect(self): (source)

Undocumented

def test_array_str_64bit(self): (source)

Undocumented

def test_array_too_big(self): (source)

Undocumented

def test_asarray_with_order(self): (source)

Undocumented

def test_assign_from_sequence_error(self): (source)

Undocumented

def test_assign_obj_listoflists(self): (source)

Undocumented

def test_astype_copy(self): (source)

Undocumented

def test_attributes(self): (source)

Undocumented

def test_bad_array_interface(self): (source)

Undocumented

def test_binary_repr_0(self): (source)

Undocumented

def test_binary_repr_0_width(self): (source)

Undocumented

@_no_tracing
def test_blasdot_uninitialized_memory(self): (source)

Undocumented

def test_bool(self): (source)

Undocumented

def test_bool_flat_indexing_invalid_nr_elements(self): (source)

Undocumented

def test_bool_subscript_crash(self): (source)

Undocumented

def test_broadcast_flat_assignment(self): (source)

Undocumented

def test_buffer_hashlib(self): (source)

Undocumented

def test_byteswap_complex_scalar(self): (source)

Undocumented

def test_char_array_creation(self): (source)

Undocumented

def test_char_dump(self): (source)

Undocumented

def test_character_array_strip(self): (source)

Undocumented

def test_chararray_rstrip(self): (source)

Undocumented

def test_complex64_alignment(self): (source)

Undocumented

def test_complex_boolean_cast(self): (source)

Undocumented

def test_complex_conversion_error(self): (source)

Undocumented

def test_complex_nan_maximum(self): (source)

Undocumented

def test_complex_scalar_complex_cast(self): (source)

Undocumented

def test_complex_scalar_warning(self): (source)

Undocumented

def test_compress_small_type(self): (source)

Undocumented

def test_convolve_empty(self): (source)

Undocumented

def test_copy_detection_corner_case(self): (source)

Undocumented

@pytest.mark.skipif((np.ones(1).strides[0] == np.iinfo(np.intp).max), reason='Using relaxed stride debug')
def test_copy_detection_corner_case2(self): (source)

Undocumented

def test_copy_detection_zero_dim(self): (source)

Undocumented

def test_copymodule_preserves_f_contiguity(self): (source)

Undocumented

def test_correct_hash_dict(self): (source)

Undocumented

def test_deepcopy_empty_object_array(self): (source)

Undocumented

def test_deepcopy_F_order_object_array(self): (source)

Undocumented

def test_deepcopy_on_0d_array(self): (source)

Undocumented

def test_dot_alignment_sse2(self): (source)

Undocumented

@pytest.mark.skipif((sys.maxsize < 2 ** 31 + 1), reason='overflows 32-bit python')
@requires_memory(free_bytes=9000000000.0)
def test_dot_big_stride(self): (source)

Undocumented

def test_dot_negative_stride(self): (source)

Undocumented

def test_dtype_keyerrors_(self): (source)

Undocumented

def test_dtype_names(self): (source)

Undocumented

def test_dtype_posttuple(self): (source)

Undocumented

def test_dtype_repr(self): (source)

Undocumented

def test_dtype_scalar_squeeze(self): (source)

Undocumented

def test_dtype_tuple(self): (source)

Undocumented

def test_duplicate_field_names_assign(self): (source)

Undocumented

def test_duplicate_title_and_name(self): (source)

Undocumented

def test_eff1d_casting(self): (source)

Undocumented

def test_empty_array_type(self): (source)

Undocumented

def test_empty_mul(self): (source)

Undocumented

def test_empty_percentile(self): (source)

Undocumented

def test_endian_bool_indexing(self): (source)

Undocumented

def test_endian_recarray(self): (source)

Undocumented

def test_endian_where(self): (source)

Undocumented

def test_eq_string_and_object_array(self): (source)

Undocumented

def test_fancy_index(self): (source)

Undocumented

def test_field_access_by_title(self): (source)

Undocumented

def test_fields_strides(self): (source)

gh-2355

def test_find_common_type_boolean(self): (source)

Undocumented

def test_flat_assignment(self): (source)

Undocumented

def test_flat_byteorder(self): (source)

Undocumented

def test_flat_index_byteswap(self): (source)

Undocumented

def test_for_equal_names(self): (source)

Undocumented

def test_for_object_scalar_creation(self): (source)

Undocumented

def test_for_zero_length_in_choose(self): (source)

Ticket #882

def test_format_on_flex_array_element(self): (source)

Undocumented

def test_fortran_order_buffer(self): (source)

Undocumented

def test_fromfile_tofile_seeks(self): (source)

Undocumented

def test_fromiter_bytes(self): (source)

Undocumented

def test_fromiter_comparison(self): (source)

Undocumented

def test_frompyfunc_endian(self): (source)

Undocumented

def test_frompyfunc_many_args(self): (source)

Undocumented

def test_frompyfunc_name(self): (source)

Undocumented

def test_frompyfunc_nout_0(self): (source)

Undocumented

def test_fromstring(self): (source)

Undocumented

def test_fromstring_crash(self): (source)

Undocumented

def test_hstack_invalid_dims(self): (source)

Undocumented

def test_huge_arange(self): (source)

Undocumented

def test_indexing1(self): (source)

Undocumented

def test_indexing2(self): (source)

Undocumented

def test_invalid_round(self): (source)

Undocumented

@pytest.mark.skipif(IS_PYPY and (sys.implementation.version <= (7, 3, 8)), reason='PyPy bug in error formatting')
def test_invalid_structured_dtypes(self): (source)

Undocumented

def test_junk_in_string_fields_of_recarray(self): (source)

Undocumented

def test_large_float_sum(self): (source)

Undocumented

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

Undocumented

def test_lexsort(self): (source)

Undocumented

def test_lexsort_buffer_length(self): (source)

Undocumented

def test_lexsort_invalid_axis(self): (source)

Undocumented

def test_lexsort_invalid_sequence(self): (source)

Undocumented

def test_lexsort_zerolen_custom_strides(self): (source)

Undocumented

def test_lexsort_zerolen_custom_strides_2d(self): (source)

Undocumented

def test_lexsort_zerolen_element(self): (source)

Undocumented

def test_log1p_compiler_shenanigans(self): (source)

Undocumented

def test_mem_0d_array_index(self): (source)

Undocumented

def test_mem_around(self): (source)

Undocumented

def test_mem_array_creation_invalid_specification(self): (source)

Undocumented

def test_mem_axis_minimization(self): (source)

Undocumented

def test_mem_custom_float_to_array(self): (source)

Undocumented

def test_mem_deallocation_leak(self): (source)

Undocumented

def test_mem_divmod(self): (source)

Undocumented

def test_mem_dot(self): (source)

Undocumented

def test_mem_dtype_align(self): (source)

Undocumented

def test_mem_empty(self): (source)

Undocumented

def test_mem_float_imag(self): (source)

Undocumented

def test_mem_fromiter_invalid_dtype_string(self): (source)

Undocumented

def test_mem_lexsort_strings(self): (source)

Undocumented

def test_mem_on_invalid_dtype(self): (source)

Ticket #583

def test_mem_scalar_indexing(self): (source)

Undocumented

def test_mem_string_arr(self): (source)

Undocumented

@pytest.mark.slow_pypy
def test_memoryleak(self): (source)

Undocumented

def test_method_args(self): (source)

Undocumented

def test_misaligned_dot_product_objects(self): (source)

Undocumented

def test_misaligned_objects_segfault(self): (source)

Undocumented

def test_misaligned_scalars_segfault(self): (source)

Undocumented

def test_mixed_string_byte_array_creation(self): (source)

Undocumented

def test_multidim_byteswap(self): (source)

Undocumented

def test_multiple_assign(self): (source)

Undocumented

def test_ndmin_float64(self): (source)

Undocumented

def test_ndmin_order(self): (source)

Undocumented

def test_negative_nd_indexing(self): (source)

Undocumented

@pytest.mark.xfail(IS_WASM, reason='not sure why')
@pytest.mark.parametrize('index', [np.ones(10, dtype=bool), np.arange(10)], ids=['boolean-arr-index', 'integer-arr-index'])
def test_nonarray_assignment(self, index): (source)

Undocumented

def test_noncommutative_reduce_accumulate(self): (source)

Undocumented

def test_noncontiguous_fill(self): (source)

Undocumented

def test_nonnative_endian_fill(self): (source)

Undocumented

def test_nonscalar_item_method(self): (source)

Undocumented

def test_nonzero_byteswap(self): (source)

Undocumented

def test_numeric_carray_compare(self): (source)

Undocumented

def test_numpy_float_python_long_addition(self): (source)

Undocumented

def test_object_argmax(self): (source)

Undocumented

def test_object_array_assign(self): (source)

Undocumented

@pytest.mark.skipif(IS_PYSTON, reason='Pyston disables recursion checking')
def test_object_array_circular_reference(self): (source)

Undocumented

def test_object_array_fill(self): (source)

Undocumented

def test_object_array_from_list(self): (source)

Undocumented

def test_object_array_nested(self): (source)

Undocumented

def test_object_array_refcount_self_assign(self): (source)

Undocumented

def test_object_array_refcounting(self): (source)

Undocumented

def test_object_array_self_copy(self): (source)

Undocumented

@pytest.mark.skipif(IS_PYSTON, reason='Pyston disables recursion checking')
def test_object_array_self_reference(self): (source)

Undocumented

def test_object_array_shape(self): (source)

Undocumented

def test_object_array_to_fixed_string(self): (source)

Undocumented

def test_object_casting(self): (source)

Undocumented

def test_object_casting_errors(self): (source)

Undocumented

def test_objectarray_setfield(self): (source)

Undocumented

def test_pickle_bytes_overwrite(self): (source)

Undocumented

def test_pickle_datetime64_array(self): (source)

Undocumented

def test_pickle_dtype(self): (source)

Undocumented

def test_pickle_empty_string(self): (source)

Undocumented

@pytest.mark.parametrize('val', [np.ones((10, 10), dtype='int32'), np.uint64(10)])
@pytest.mark.parametrize('protocol', range(2, pickle.HIGHEST_PROTOCOL+1))
def test_pickle_module(self, protocol, val): (source)

Undocumented

def test_pickle_py2_array_latin1_hack(self): (source)

Undocumented

def test_pickle_py2_bytes_encoding(self): (source)

Undocumented

def test_pickle_py2_scalar_latin1_hack(self): (source)

Undocumented

def test_pickle_string_overwrite(self): (source)

Undocumented

def test_pickle_transposed(self): (source)

Undocumented

def test_rand_seed(self): (source)

Undocumented

def test_random_shuffle(self): (source)

Undocumented

def test_ravel_with_order(self): (source)

Undocumented

def test_rec_fromarray(self): (source)

Undocumented

def test_rec_iterate(self): (source)

Undocumented

def test_recarray_copy(self): (source)

Undocumented

def test_recarray_fields(self): (source)

Undocumented

def test_recarray_single_element(self): (source)

Undocumented

def test_recarray_tolist(self): (source)

Undocumented

def test_reduce(self): (source)

Undocumented

def test_reduce_big_object_array(self): (source)

Undocumented

def test_reduce_contiguous(self): (source)

Undocumented

def test_refcount_error_in_clip(self): (source)

Undocumented

def test_refcount_vdot(self): (source)

Undocumented

def test_repeat_broadcasting(self): (source)

Undocumented

def test_repeat_discont(self): (source)

Undocumented

def test_reshape_order(self): (source)

Undocumented

def test_reshape_size_overflow(self): (source)

Undocumented

@pytest.mark.skipif((np.ones(1).strides[0] == np.iinfo(np.intp).max), reason='Using relaxed stride debug')
def test_reshape_trailing_ones_strides(self): (source)

Undocumented

def test_reshape_zero_size(self): (source)

Undocumented

def test_reshape_zero_strides(self): (source)

Undocumented

def test_richcompare_crash(self): (source)

Undocumented

def test_richcompare_scalar_and_subclass(self): (source)

Undocumented

def test_round(self): (source)

Undocumented

def test_scalar_compare(self): (source)

Undocumented

def test_scalar_copy(self): (source)

Undocumented

def test_search_sorted_invalid_arguments(self): (source)

Undocumented

def test_searchsorted_variable_length(self): (source)

Undocumented

def test_searchsorted_wrong_dtype(self): (source)

Undocumented

def test_setting_rank0_string(self): (source)

Ticket #1736

def test_sign_bit(self): (source)

Undocumented

def test_sign_for_complex_nan(self): (source)

Undocumented

def test_signed_integer_division_overflow(self): (source)

Undocumented

def test_sort_bigendian(self): (source)

Undocumented

def test_squeeze_axis_handling(self): (source)

Undocumented

def test_squeeze_contiguous(self): (source)

Undocumented

def test_squeeze_type(self): (source)

Undocumented

def test_startswith(self): (source)

Undocumented

def test_string_argsort_with_zeros(self): (source)

Undocumented

def test_string_array_size(self): (source)

Undocumented

def test_string_astype(self): (source)

Ticket #1748

def test_string_mergesort(self): (source)

Undocumented

def test_string_NULL(self): (source)

Undocumented

def test_string_sort_with_zeros(self): (source)

Undocumented

def test_string_truncation(self): (source)

Undocumented

def test_string_truncation_ucs2(self): (source)

Undocumented

def test_structarray_title(self): (source)

Undocumented

def test_structured_arrays_with_objects1(self): (source)

Undocumented

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

Undocumented

def test_structured_count_nonzero(self): (source)

Undocumented

def test_structured_type_to_object(self): (source)

Undocumented

def test_subclass_int_tuple_assignment(self): (source)

Undocumented

def test_swap_real(self): (source)

Undocumented

def test_take_object_fail(self): (source)

Undocumented

def test_take_output(self): (source)

Undocumented

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

Undocumented

def test_ticket_1434(self): (source)

Undocumented

def test_ticket_1538(self): (source)

Undocumented

def test_ticket_1539(self): (source)

Undocumented

def test_ticket_1608(self): (source)

x.flat shouldn't modify data

def test_ticket_1756(self): (source)

Undocumented

def test_ticket_1770(self): (source)

Should not segfault on python 3k

@pytest.mark.skipif((sys.maxsize < 2 ** 31 + 1), reason='overflows 32-bit python')
def test_to_ctypes(self): (source)

Undocumented

def test_tobytes_FORTRANORDER_discontiguous(self): (source)

Undocumented

def test_ufunc_casting_out(self): (source)

Undocumented

def test_ufunc_no_unnecessary_views(self): (source)

Undocumented

@pytest.mark.parametrize('operation', ['add', 'subtract', 'multiply', 'floor_divide', 'conjugate', 'fmod', 'square', 'reciprocal', 'power', 'absolute', 'negative', 'positive', 'greater', 'greater_equal', 'less', 'less_equal', 'equal', 'not_equal', 'logical_and', 'logical_not', 'logical_or', 'bitwise_and', 'bitwise_or', 'bitwise_xor', 'invert', 'left_shift', 'right_shift', 'gcd', 'lcm'])
@pytest.mark.parametrize('order', [('b->', 'B->'), ('h->', 'H->'), ('i->', 'I->'), ('l->', 'L->'), ('q->', 'Q->')])
def test_ufunc_order(self, operation, order): (source)

Undocumented

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

Undocumented

def test_uint_int_conversion(self): (source)

Undocumented

def test_unaligned_unicode_access(self): (source)

Undocumented

def test_unicode_alloc_dealloc_match(self): (source)

Undocumented

def test_unicode_scalar(self): (source)

Undocumented

def test_unicode_string_comparison(self): (source)

Undocumented

def test_unicode_swapping(self): (source)

Undocumented

def test_unicode_to_string_cast(self): (source)

Undocumented

def test_unicode_to_string_cast_error(self): (source)

Undocumented

def test_unique_stable(self): (source)

Undocumented

def test_unpickle_dtype_with_object(self): (source)

Undocumented

def test_void_compare_segfault(self): (source)

Undocumented

def test_void_copyswap(self): (source)

Undocumented

def test_void_getitem(self): (source)

Undocumented

def test_void_item_memview(self): (source)

Undocumented

def test_void_scalar_constructor(self): (source)

Undocumented

def test_void_scalar_with_titles(self): (source)

Undocumented

def test_zero_sized_array_indexing(self): (source)

Undocumented

def test_zeros(self): (source)

Undocumented

def test_zeros_order(self): (source)

Undocumented

def test_zerosize_accumulate(self): (source)

Ticket #1733