bpo-46659: Update the test on the mbcs codec alias (GH-31168)
encodings registers the _alias_mbcs() codec search function before the search_function() codec search function. Previously, the _alias_mbcs() was never used. Fix the test_codecs.test_mbcs_alias() test: use the current ANSI code page, not a fake ANSI code page number. Remove the test_site.test_aliasing_mbcs() test: the alias is now implemented in the encodings module, no longer in the site module.
V
Victor Stinner committed
04dd60e50cd3da48fd19cdab4c0e4cc600d6af30
Parent: 3da5526
Committed by GitHub <noreply@github.com>
on 2/6/2022, 8:50:09 PM