Fix test harness on systems where python3 is the default

Just a quick patch to make the test harness run on machines where
python3 is the default system Python (I built on Arch Linux). This shouldn't cause any issues on supported platforms as far as I know.