]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-124842: Fix test.support.import_helper.make_legacy_pyc() (GH-124843) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 7 Oct 2024 21:29:54 +0000 (23:29 +0200)
committerGitHub <noreply@github.com>
Mon, 7 Oct 2024 21:29:54 +0000 (00:29 +0300)
commit970f3b73d20e792653d690152edccd7b6079ee95
tree39ae48927ede56c158ba0e75e6d0fad2fee8ffce
parent4a9a359f32d3f42c509bb9be770370ba21634fc6
[3.13] gh-124842: Fix test.support.import_helper.make_legacy_pyc() (GH-124843) (GH-124853)

For source file "path/to/file.py" it created file with incorrect path
"/absolute/path/to/path/to/file.pyc" instead of "path/to/file.pyc".
(cherry picked from commit 60ff67d010078eca15a74b1429caf779ac4f9c74)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/support/import_helper.py