summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
authorMichael Droettboom <mdboom@gmail.com>2022-08-25 19:19:16 (GMT)
committerGitHub <noreply@github.com>2022-08-25 19:19:16 (GMT)
commitce1e73fbfd9ed165b20ff1c25367f1b9f0674263 (patch)
treebb4ac31dc5d7601281b0950013c438950f8655b0 /Python/compile.c
parentcaa2a9799a47294441e4206037620322eea9ed06 (diff)
downloadcpython-ce1e73fbfd9ed165b20ff1c25367f1b9f0674263.zip
cpython-ce1e73fbfd9ed165b20ff1c25367f1b9f0674263.tar.gz
cpython-ce1e73fbfd9ed165b20ff1c25367f1b9f0674263.tar.bz2
gh-96272: Replace `test_source_encoding`'s `test_pep263` with `test_import_encoded_module` from `test_imp` (GH-96275)
Editors don't agree that `test_source_encoding.py` was valid koi8-r, making it hard to edit that file without the editor breaking it in some way (see gh-96272). Only one test actually relied on the koi8-r encoding and it was a duplicate of a test from the deprecated `imp` module's `test_imp`, so here we replace `test_pep263` with `test_import_encoded_module` stolen from `test_imp` and set `test_source_encoding.py`'s encoding to utf-8 to make editing it easier going forward.
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions