am 03034847: Fixed runtest to work with python != 2.4

* commit '03034847073ab9979147f17b1d7f2e8dc3995e26':
  Fixed runtest to work with python != 2.4