Pytest: fix the build-as-test mode on Windows
#20641
+8
−8
Merged