class documentation

class TestRegression:

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​_unicode​_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):

Undocumented

def test_2d__array__shape(self):

Undocumented

def test__array_interface__descr(self):

Undocumented

def test_add_identity(self):

Undocumented

def test_alignment_update(self):

Undocumented

def test_any_float(self):

Undocumented

def test_arange_endian(self):

Undocumented

def test_arange_inf_step(self):

Undocumented

def test_arange_non_native_dtype(self):

Undocumented

def test_arange_underflow_stop_and_step(self):

Undocumented

def test_argmax(self):

Undocumented

def test_argmax_byteorder(self):

Undocumented

def test_arr_transpose(self):

Undocumented

def test_array_from_sequence_scalar_array(self):

Undocumented

def test_array_from_sequence_scalar_array2(self):

Undocumented

def test_array_index(self):

Undocumented

def test_array_ndmin_overflow(self):
Ticket #947.
def test_array_resize_method_system_error(self):

Undocumented

def test_array_scalar_contiguous(self):

Undocumented

def test_array_side_effect(self):

Undocumented

def test_array_str_64bit(self):

Undocumented

def test_array_too_big(self):

Undocumented

def test_asarray_with_order(self):

Undocumented

def test_assign_from_sequence_error(self):

Undocumented

def test_assign_obj_listoflists(self):

Undocumented

def test_astype_copy(self):

Undocumented

def test_attributes(self):

Undocumented

def test_bad_array_interface(self):

Undocumented

def test_binary_repr_0(self):

Undocumented

def test_binary_repr_0_width(self):

Undocumented

@_no_tracing
def test_blasdot_uninitialized_memory(self):

Undocumented

def test_bool(self):

Undocumented

def test_bool_flat_indexing_invalid_nr_elements(self):

Undocumented

def test_bool_subscript_crash(self):

Undocumented

def test_broadcast_flat_assignment(self):

Undocumented

def test_buffer_hashlib(self):

Undocumented

def test_byteswap_complex_scalar(self):

Undocumented

def test_char_array_creation(self):

Undocumented

def test_char_dump(self):

Undocumented

def test_character_array_strip(self):

Undocumented

def test_chararray_rstrip(self):

Undocumented

def test_complex64_alignment(self):

Undocumented

def test_complex_boolean_cast(self):

Undocumented

def test_complex_conversion_error(self):

Undocumented

def test_complex_nan_maximum(self):

Undocumented

def test_complex_scalar_complex_cast(self):

Undocumented

def test_complex_scalar_warning(self):

Undocumented

def test_compress_small_type(self):

Undocumented

def test_convolve_empty(self):

Undocumented

def test_copy_detection_corner_case(self):

Undocumented

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

Undocumented

def test_copy_detection_zero_dim(self):

Undocumented

def test_copymodule_preserves_f_contiguity(self):

Undocumented

def test_correct_hash_dict(self):

Undocumented

def test_deepcopy_empty_object_array(self):

Undocumented

def test_deepcopy_F_order_object_array(self):

Undocumented

def test_deepcopy_on_0d_array(self):

Undocumented

def test_dot_alignment_sse2(self):

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):

Undocumented

def test_dot_negative_stride(self):

Undocumented

def test_dtype_keyerrors_(self):

Undocumented

def test_dtype_names(self):

Undocumented

def test_dtype_posttuple(self):

Undocumented

def test_dtype_repr(self):

Undocumented

def test_dtype_scalar_squeeze(self):

Undocumented

def test_dtype_tuple(self):

Undocumented

def test_duplicate_field_names_assign(self):

Undocumented

def test_duplicate_title_and_name(self):

Undocumented

def test_eff1d_casting(self):

Undocumented

def test_empty_array_type(self):

Undocumented

def test_empty_mul(self):

Undocumented

def test_empty_percentile(self):

Undocumented

def test_endian_bool_indexing(self):

Undocumented

def test_endian_recarray(self):

Undocumented

def test_endian_where(self):

Undocumented

def test_eq_string_and_object_array(self):

Undocumented

def test_fancy_index(self):

Undocumented

def test_field_access_by_title(self):

Undocumented

def test_fields_strides(self):
gh-2355
def test_find_common_type_boolean(self):

Undocumented

def test_flat_assignment(self):

Undocumented

def test_flat_byteorder(self):

Undocumented

def test_flat_index_byteswap(self):

Undocumented

def test_for_equal_names(self):

Undocumented

def test_for_object_scalar_creation(self):

Undocumented

def test_for_zero_length_in_choose(self):
Ticket #882
def test_format_on_flex_array_element(self):

Undocumented

def test_fortran_order_buffer(self):

Undocumented

def test_fromfile_tofile_seeks(self):

Undocumented

def test_fromiter_bytes(self):

Undocumented

def test_fromiter_comparison(self):

Undocumented

def test_frompyfunc_endian(self):

Undocumented

def test_frompyfunc_many_args(self):

Undocumented

def test_frompyfunc_name(self):

Undocumented

def test_frompyfunc_nout_0(self):

Undocumented

def test_fromstring(self):

Undocumented

def test_fromstring_crash(self):

Undocumented

def test_hstack_invalid_dims(self):

Undocumented

def test_huge_arange(self):

Undocumented

def test_indexing1(self):

Undocumented

def test_indexing2(self):

Undocumented

def test_invalid_round(self):

Undocumented

def test_invalid_structured_dtypes(self):

Undocumented

def test_junk_in_string_fields_of_recarray(self):

Undocumented

def test_large_float_sum(self):

Undocumented

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

Undocumented

def test_lexsort(self):

Undocumented

def test_lexsort_buffer_length(self):

Undocumented

def test_lexsort_invalid_axis(self):

Undocumented

def test_lexsort_invalid_sequence(self):

Undocumented

def test_lexsort_zerolen_custom_strides(self):

Undocumented

def test_lexsort_zerolen_custom_strides_2d(self):

Undocumented

def test_lexsort_zerolen_element(self):

Undocumented

def test_log1p_compiler_shenanigans(self):

Undocumented

def test_mem_0d_array_index(self):

Undocumented

def test_mem_around(self):

Undocumented

def test_mem_array_creation_invalid_specification(self):

Undocumented

def test_mem_axis_minimization(self):

Undocumented

def test_mem_custom_float_to_array(self):

Undocumented

def test_mem_deallocation_leak(self):

Undocumented

def test_mem_divmod(self):

Undocumented

def test_mem_dot(self):

Undocumented

def test_mem_dtype_align(self):

Undocumented

def test_mem_empty(self):

Undocumented

def test_mem_float_imag(self):

Undocumented

def test_mem_fromiter_invalid_dtype_string(self):

Undocumented

def test_mem_lexsort_strings(self):

Undocumented

def test_mem_on_invalid_dtype(self):
Ticket #583
def test_mem_scalar_indexing(self):

Undocumented

def test_mem_string_arr(self):

Undocumented

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

Undocumented

def test_method_args(self):

Undocumented

def test_misaligned_dot_product_objects(self):

Undocumented

def test_misaligned_objects_segfault(self):

Undocumented

def test_misaligned_scalars_segfault(self):

Undocumented

def test_mixed_string_unicode_array_creation(self):

Undocumented

def test_multidim_byteswap(self):

Undocumented

def test_multiple_assign(self):

Undocumented

def test_ndmin_float64(self):

Undocumented

def test_ndmin_order(self):

Undocumented

def test_negative_nd_indexing(self):

Undocumented

def test_nonarray_assignment(self):

Undocumented

def test_noncommutative_reduce_accumulate(self):

Undocumented

def test_noncontiguous_fill(self):

Undocumented

def test_nonnative_endian_fill(self):

Undocumented

def test_nonscalar_item_method(self):

Undocumented

def test_nonzero_byteswap(self):

Undocumented

def test_numeric_carray_compare(self):

Undocumented

def test_numpy_float_python_long_addition(self):

Undocumented

def test_object_argmax(self):

Undocumented

def test_object_array_assign(self):

Undocumented

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

Undocumented

def test_object_array_fill(self):

Undocumented

def test_object_array_from_list(self):

Undocumented

def test_object_array_nested(self):

Undocumented

def test_object_array_refcount_self_assign(self):

Undocumented

def test_object_array_refcounting(self):

Undocumented

def test_object_array_self_copy(self):

Undocumented

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

Undocumented

def test_object_array_shape(self):

Undocumented

def test_object_array_to_fixed_string(self):

Undocumented

def test_object_casting(self):

Undocumented

def test_object_casting_errors(self):

Undocumented

def test_objectarray_setfield(self):

Undocumented

def test_pickle_bytes_overwrite(self):

Undocumented

def test_pickle_datetime64_array(self):

Undocumented

def test_pickle_dtype(self):

Undocumented

def test_pickle_empty_string(self):

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):

Undocumented

def test_pickle_py2_array_latin1_hack(self):

Undocumented

def test_pickle_py2_bytes_encoding(self):

Undocumented

def test_pickle_py2_scalar_latin1_hack(self):

Undocumented

def test_pickle_string_overwrite(self):

Undocumented

def test_pickle_transposed(self):

Undocumented

def test_rand_seed(self):

Undocumented

def test_random_shuffle(self):

Undocumented

def test_ravel_with_order(self):

Undocumented

def test_rec_fromarray(self):

Undocumented

def test_rec_iterate(self):

Undocumented

def test_recarray_copy(self):

Undocumented

def test_recarray_fields(self):

Undocumented

def test_recarray_single_element(self):

Undocumented

def test_recarray_tolist(self):

Undocumented

def test_reduce(self):

Undocumented

def test_reduce_big_object_array(self):

Undocumented

def test_reduce_contiguous(self):

Undocumented

def test_refcount_error_in_clip(self):

Undocumented

def test_refcount_vdot(self):

Undocumented

def test_repeat_broadcasting(self):

Undocumented

def test_repeat_discont(self):

Undocumented

def test_reshape_order(self):

Undocumented

def test_reshape_size_overflow(self):

Undocumented

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

Undocumented

def test_reshape_zero_size(self):

Undocumented

def test_reshape_zero_strides(self):

Undocumented

def test_richcompare_crash(self):

Undocumented

def test_richcompare_scalar_and_subclass(self):

Undocumented

def test_round(self):

Undocumented

def test_scalar_compare(self):

Undocumented

def test_scalar_copy(self):

Undocumented

def test_search_sorted_invalid_arguments(self):

Undocumented

def test_searchsorted_variable_length(self):

Undocumented

def test_searchsorted_wrong_dtype(self):

Undocumented

def test_setting_rank0_string(self):
Ticket #1736
def test_sign_bit(self):

Undocumented

def test_sign_for_complex_nan(self):

Undocumented

def test_signed_integer_division_overflow(self):

Undocumented

def test_sort_bigendian(self):

Undocumented

def test_squeeze_axis_handling(self):

Undocumented

def test_squeeze_contiguous(self):

Undocumented

def test_squeeze_type(self):

Undocumented

def test_startswith(self):

Undocumented

def test_string_argsort_with_zeros(self):

Undocumented

def test_string_array_size(self):

Undocumented

def test_string_astype(self):
Ticket #1748
def test_string_mergesort(self):

Undocumented

def test_string_NULL(self):

Undocumented

def test_string_sort_with_zeros(self):

Undocumented

def test_string_truncation(self):

Undocumented

def test_string_truncation_ucs2(self):

Undocumented

def test_structarray_title(self):

Undocumented

def test_structured_arrays_with_objects1(self):

Undocumented

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

Undocumented

def test_structured_count_nonzero(self):

Undocumented

def test_structured_type_to_object(self):

Undocumented

def test_subclass_int_tuple_assignment(self):

Undocumented

def test_swap_real(self):

Undocumented

def test_take_object_fail(self):

Undocumented

def test_take_output(self):

Undocumented

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

Undocumented

def test_ticket_1434(self):

Undocumented

def test_ticket_1538(self):

Undocumented

def test_ticket_1539(self):

Undocumented

def test_ticket_1608(self):
x.flat shouldn't modify data
def test_ticket_1756(self):

Undocumented

def test_ticket_1770(self):
Should not segfault on python 3k
@pytest.mark.skipif((sys.maxsize < 2 ** 31 + 1), reason='overflows 32-bit python')
@pytest.mark.skipif((sys.platform == 'win32') and (sys.version_info[:2] < (3, 8)), reason='overflows on windows, fixed in bpo-16865')
def test_to_ctypes(self):

Undocumented

def test_tobytes_FORTRANORDER_discontiguous(self):

Undocumented

def test_ufunc_casting_out(self):

Undocumented

def test_ufunc_no_unnecessary_views(self):

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):

Undocumented

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

Undocumented

def test_uint_int_conversion(self):

Undocumented

def test_unaligned_unicode_access(self):

Undocumented

def test_unicode_alloc_dealloc_match(self):

Undocumented

def test_unicode_scalar(self):

Undocumented

def test_unicode_string_comparison(self):

Undocumented

def test_unicode_swapping(self):

Undocumented

def test_unicode_to_string_cast(self):

Undocumented

def test_unicode_to_string_cast_error(self):

Undocumented

def test_unique_stable(self):

Undocumented

def test_unpickle_dtype_with_object(self):

Undocumented

def test_void_compare_segfault(self):

Undocumented

def test_void_copyswap(self):

Undocumented

def test_void_getitem(self):

Undocumented

def test_void_item_memview(self):

Undocumented

def test_void_scalar_constructor(self):

Undocumented

def test_void_scalar_with_titles(self):

Undocumented

def test_zero_sized_array_indexing(self):

Undocumented

def test_zeros(self):

Undocumented

def test_zeros_order(self):

Undocumented

def test_zerosize_accumulate(self):
Ticket #1733