fix syntax of xtest_signal.py on python2.6