]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-75572: Forward-port test_xpickle from Python 2 to 3 (GH-22452)
authorKen Jin <kenjin@python.org>
Tue, 6 Jan 2026 17:03:03 +0000 (01:03 +0800)
committerGitHub <noreply@github.com>
Tue, 6 Jan 2026 17:03:03 +0000 (19:03 +0200)
commit8735daf3e82d50defd791e9be7b9ae6843bc4ed1
tree1a70d9d44206742e888e01986a2fc2eec24f25fb
parent7b0a372b20ae3b80053d52e84c2b7bdd114c19f0
gh-75572: Forward-port test_xpickle from Python 2 to 3 (GH-22452)

Move data classes used in tests to separate file test_picklecommon.py,
so it can be imported in old Python versions.

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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]