def array_alloc_var_index_out_of_bounds(): """This tests causes a segmentation fault.""" a = zeros(5, dtype=int) i = 5 a[i] = 42
def array_alloc_const_index_out_of_bounds(): a = zeros(5, dtype=int) a[5] = 42
def zeros_no_type(): a = zeros(5) # noqa