this is a know regression in numpy:
https://github.com/numpy/numpy/issues/3804