test.py: can be run with python-2.5

This commit is contained in:
Aapo Rantalainen 2013-03-24 07:49:01 +02:00
parent b49729f7a9
commit df1d321b96

View File

@ -2,7 +2,6 @@
# Automated script to run the pspautotests test suite in PPSSPP.
import sys
import io
import os
import subprocess
import threading
@ -31,7 +30,7 @@ class Command(object):
thread.start()
thread.join(timeout)
if thread.is_alive():
if thread.isAlive():
self.timeout = True
self.process.terminate()
thread.join()