From bfad0b56d9d2d867af01d146fb72862e8a4b10ed Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Tue, 11 Mar 2025 11:42:47 +0100 Subject: [PATCH] [3.12] gh-93096: Fix loading doctests in test_pickle (GH-131069) (GH-131081) (cherry picked from commit 3bb20d13a88a178dae809016b3d0a457f38aa686) Co-authored-by: donBarbos --- Lib/test/test_pickle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_pickle.py b/Lib/test/test_pickle.py index 32fb3590ec6a..e232fad1b4d0 100644 --- a/Lib/test/test_pickle.py +++ b/Lib/test/test_pickle.py @@ -589,7 +589,7 @@ class CompatPickleTests(unittest.TestCase): def load_tests(loader, tests, pattern): - tests.addTest(doctest.DocTestSuite()) + tests.addTest(doctest.DocTestSuite(pickle)) return tests -- 2.47.3