Fix repeat op tests on windows.