Minor changes to Python test harness to allow it to be used on Windows.
Closes #4366

Addresses comments to pull request 4372

Removed a tab that snuck in.
Merge pull request #4372 from bobkinl/test_framework_win_4366

Minor changes to Python test harness to allow it to be used on Windows.  Closes #4366