testlib: Make TyCon normalization Python 2.6-compatible