Recently there was an instance of a doctest failure caught in a downstream project that was not caught by the numpy test suite: see #21064 .
It's worth checking that the infrastructure for picking up and running doctests is appropriately hitting the ufunc docstrings defined in numpy/core/code_generators/ufunc_docstrings.py.