Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
Please also try to comment out the following line in test_output_string. Does it help? s = '\u0661\u0662\u0663\u0664' try: func(s, 3) except UnicodeEncodeError: self.assertRaises(UnicodeEncodeError, s.encode, encoding) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43659> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com