`unicode` is undefined in Python 3, and charlatan supports Python 3. You probably want to disable this test for Python 3, since everything's unicode anyway.