]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-75572: Forward-port test_xpickle from Python 2 to 3 (GH-22452) (GH-143509)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 7 Jan 2026 07:57:39 +0000 (09:57 +0200)
committerGitHub <noreply@github.com>
Wed, 7 Jan 2026 07:57:39 +0000 (07:57 +0000)
commitd030847a23500ee613ac15a454dad82d2c64b836
tree52821d8e8515d1e31d9e056604f96323c74227a1
parent0a8e97e17428710a7edb35862ce98dfdc2147da3
[3.13] gh-75572: Forward-port test_xpickle from Python 2 to 3 (GH-22452) (GH-143509)

Move data classes used in tests to separate file test_picklecommon.py,
so it can be imported in old Python versions.
(cherry picked from commit 8735daf3e82d50defd791e9be7b9ae6843bc4ed1)
(cherry picked from commit ff0a8b72892e94ef6616ed70241d23985f7a5ac4)

Co-authored-by: Ken Jin <kenjin@python.org>
Lib/test/libregrtest/cmdline.py
Lib/test/libregrtest/utils.py
Lib/test/picklecommon.py [new file with mode: 0644]
Lib/test/pickletester.py
Lib/test/test_xpickle.py [new file with mode: 0644]
Lib/test/xpickle_worker.py [new file with mode: 0644]
Misc/NEWS.d/next/Tests/2020-09-29-23-14-01.bpo-31391.IZr2P8.rst [new file with mode: 0644]