Fix repeat op tests on windows.
Merge pull request #1743 from nouiz/repeat

Fix repeat op tests on windows.