def test_to_str_bytes(self): self.assertEqual('hello', to_str(b'hello'))
def test_to_str_str(self): self.assertEqual('hello', to_str('hello'))