TST: windows dtype fix for test_pivot (GH6913)