New submission from STINNER Victor <victor.stin...@haypocalc.com>: All CJK codecs have tests except the chinese HZ codec, I don't know why.
But to add a test, I need to add data to Lib/test/cjkencodings_test.py and the format of this file is not documented. It is not too difficult to understand the format by reading the code of the tests, but it's hard to maintain these tests (add more tests or change a test). I need tests to be able to patch the codec to fix #12016. My plan is to: - Change Lib/test/cjkencodings_test.py format: use two files for each encoding (one in the tested encoding, one in UTF-8) - Add tests to the HZ codec - Close this issue - Fix #12016 ---------- components: Library (Lib), Unicode messages: 135773 nosy: cdqzzy, ezio.melotti, haypo, lemburg, terry.reedy priority: normal severity: normal status: open title: HZ codec has no test versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12057> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com