Paul Monson <paulm...@gmail.com> added the comment:
Removing import functools from cp65001.py fixes test_startup_imports. Victor proposed this PR: https://github.com/python/cpython/pull/13110 but new test_codecs fails because it's passing self on to the lambda I think. I tried to build on Victor's change but there is still one test failure I haven't tracked down yet: https://github.com/python/cpython/pull/13211 FAIL: test_incremental_surrogatepass (test.test_codecs.CP65001Test) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\master\pythond\lib\test\test_codecs.py", line 436, in test_incremental_surrogatepass self.assertEqual(dec.decode(data[i:], True), '\uD901') AssertionError: '' != '\ud901' + \ud901 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36778> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com