Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-46659: Update the test on the mbcs codec alias #31168

Merged
merged 2 commits into from
Feb 6, 2022
Merged

bpo-46659: Update the test on the mbcs codec alias #31168

merged 2 commits into from
Feb 6, 2022

Commits on Feb 6, 2022

  1. bpo-46659: Fix the mbcs codec alias

    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.
    vstinner committed Feb 6, 2022
    Configuration menu
    Copy the full SHA
    f424c82 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6a4c886 View commit details
    Browse the repository at this point in the history