* build/run_tests.py   (_run_py_test): Flush stdout and stderr before switching their backing      handle. This should fix at least some of the output glitches on the      Windows buildbots.
* build/run_tests.py
  (_run_py_test): Flush stdout and stderr before switching their backing
     handle. This should fix at least some of the output glitches on the
     Windows buildbots.

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion