TST: Local conftest for test_offsets.py
- [x] closes xxxxx
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

Continued from #17622 per comments. Looks like `offset_types` property can be replaced entirely with a fixture.