BUG: DatetimeIndex with time as key
Merge pull request #8907 from behzadnouri/time-slice

BUG: DatetimeIndex with time object as key
TST: Moved test functions to module level. #8023
TST: changed *args, **kwargs to fixed arguments. #8023
TST: Moved rest of the test functions to module level. #8023
TST: patch all module level assert functions to TestCase. #8023
CLN: Cleanup TestCase assert functions pathing #8023