TST: Groupby.groups of datetimeindex (#11442)
 - [x] closes #11442
 - [x] tests added / passed
 - [x] passes ``git diff upstream/master | flake8 --diff``

Doesn't look a PR in 0.19.2 and 0.20.0 addressed this, but it works on master 0.19.1