CLN: de-duplicate numeric type check in _libs/testing
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

In `testing.pyx` we keep a list of numeric dtypes and use that for type checking. But we have functions that do this in `tslibs/util.pxd` so it's better to use those instead
looks good, still some lint issues, ping on green (small comment) Green @arw2019 can you merge master Sorry to have been quiet!

Merged again just now - all green thanks @arw2019 