I agree that this test isn't actually testing anything in particular about unicode, but using ``str`` here is still wrong. For Python 2/3 cross-compatible code, any use of ``str`` is pretty much always wrong, because ``str`` means something entirely different in Python 2 vs Python 3; in 2 it means a byte string and in 3 it means a unicode string.