USe unicode for PY2 test on type