The added test is important since the header file can nowadays be legitimately included even when NPY_NO_DEPRECATED_API is defined. See my explanation here: https://github.com/numpy/numpy/issues/3008#issuecomment-21077374