python3: fixed run_tests.
remove python 2.5 compatibility.