make preprocessor_test.py work with python2.6