[tests] use hexversion to skip tests, since py26 has no named tuple version_info.