Fix an issue that popped up only on Windows.
Fix an issue that popped up only on Windows.

tomviner/pytest,markshao/pytest,nicoddemus/pytest,Akasurde/pytest,The-Compiler/pytest,ddboline/pytest,pfctdayelise/pytest,The-Compiler/pytest,pytest-dev/pytest,txomon/pytest,nicoddemus/pytest,RonnyPfannschmidt/pytest,alfredodeza/pytest,davidszotten/pytest,tomviner/pytest,hackebrot/pytest