TST: dtype comparisons on windows in test_generic.py