]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-124842: Fix test.support.import_helper.make_legacy_pyc() (GH-124843) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 1 Oct 2024 16:22:05 +0000 (18:22 +0200)
committerGitHub <noreply@github.com>
Tue, 1 Oct 2024 16:22:05 +0000 (16:22 +0000)
commit79746b31ff1c2658d5f3fb3ce68e12733cf837d4
tree018810e5b2acb578e65f7c20a0c419a3f17c6bf9
parent9547d2a36616525e7e57ef2064cabcfbf5f9b61b
[3.12] gh-124842: Fix test.support.import_helper.make_legacy_pyc() (GH-124843) (GH-124854)

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