-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
bugSomething isn't workingSomething isn't working
Description
In python 3.9 the ASCII//TRANSLIT codec cannot be loaded anymore:
> python -m unittest
.....EE
======================================================================
ERROR: test_incremental_encode (test_iconvcodec.TestIconvcodecModule)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bodo/Libraries/python-iconv/test_iconvcodec.py", line 21, in test_incremental_encode
encoder = codecs.getincrementalencoder("ASCII//TRANSLIT")()
File "/usr/lib/python3.9/codecs.py", line 986, in getincrementalencoder
encoder = lookup(encoding).incrementalencoder
LookupError: unknown encoding: ASCII//TRANSLIT
======================================================================
ERROR: test_transliterate (test_iconvcodec.TestIconvcodecModule)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bodo/Libraries/python-iconv/test_iconvcodec.py", line 17, in test_transliterate
bytestring = string.encode("ASCII//TRANSLIT")
LookupError: unknown encoding: ASCII//TRANSLIT
----------------------------------------------------------------------
Ran 7 tests in 0.003s
FAILED (errors=2)
ritikmishra
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working