Fix python test for windows