TST: dtype comparison issue on windows for (GH6152)