Merge pull request #722 from waveform80/fix-run-tests

Ensure test_run.py works when system-wide bashrc produces output