Fix python3 syntax for htcondor_tests.