Backport PR #40877 on branch 1.2.x (Skipt failing tests for numpy dev)
Backport PR #40877

Had to add the is_numpy_dev import, we could otherwise import from other directory if this would be preferrable
@phofl have added Backport PR #40877 to OP. the ref in the title donsn't create a link to the original PR. > Had to add the is_numpy_dev import, we could otherwise import from other directory if this would be preferrable

maybe since we likely are doing a release between now and the revert, let's not change the code only the tests. Seems reasonable,

Done