Traceback (most recent call last):


 "/Users/vhaenel/git/numba/numba/tests/test_np_functions.py", line 2080, in test_ediff1d_edge_cases

_check_raises_type_error(params, 'to_begin')


 "/Users/vhaenel/git/numba/numba/tests/test_np_functions.py", line 2047, in _check_raises_type_error

pyfunc(**params)


 "/Users/vhaenel/git/numba/numba/tests/test_np_functions.py", line 233, in ediff1d

return np.ediff1d(ary, to_end, to_begin)


 "<__array_function__ internals>", line 5, in ediff1d


 "/Users/vhaenel/miniconda3/envs/numba_3.8/lib/python3.8/site-packages/numpy/lib/arraysetops.py", line 107, in ediff1d

raise TypeError("dtype of `to_end` must be compatible "
TypeError: dtype of `to_end` must be compatible with input `ary` under the `same_kind` rule.

Traceback (most recent call last):


 "/home/kevin/git/statsmodels/statsmodels/iolib/smpickle.py", line 15, in save_pickle

cPickle.dump(obj, fout, protocol=-1)
TypeError: can't pickle statsmodels.tsa.statespace._representation._memoryviewslice objects
