There is no "unicode" in Python 3.x. Also, asserting that ``__repr__`` returns unicode feels wrong - ``__repr__`` must return bytes. What is this check for?