]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-75572: Forward-port test_xpickle from Python 2 to 3 (GH-22452) (GH-143485)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 6 Jan 2026 17:28:56 +0000 (18:28 +0100)
committerGitHub <noreply@github.com>
Tue, 6 Jan 2026 17:28:56 +0000 (17:28 +0000)
commit98128451eae68d11291cc46fa7781efea6aa94f0
treed7ecf0800baa47aff864f2cece9e35339967119b
parent22a99ca8e198e7130d5070d9f482199bb6461127
[3.14] gh-75572: Forward-port test_xpickle from Python 2 to 3 (GH-22452) (GH-143485)

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)

Co-authored-by: Ken Jin <kenjin@python.org>
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]