fix py2.6 test failure