Fix testcodec.py and test_charmapcodec.py
2 files changed