TST: dateutil fixes (GH8639)
Merge pull request #9047 from jreback/dateutil2

TST: dateutil fixes (GH8639)