From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 11 Mar 2025 10:49:14 +0000 (+0100) Subject: [3.13] gh-93096: Fix loading doctests in test_pickle (GH-131069) (GH-131080) X-Git-Tag: v3.13.3~143 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=68a1591bec822ea0818be885b0883bc170ab1a7d;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-93096: Fix loading doctests in test_pickle (GH-131069) (GH-131080) (cherry picked from commit 3bb20d13a88a178dae809016b3d0a457f38aa686) Co-authored-by: donBarbos --- diff --git a/Lib/test/test_pickle.py b/Lib/test/test_pickle.py index 4ec966d83514..385b257164ef 100644 --- a/Lib/test/test_pickle.py +++ b/Lib/test/test_pickle.py @@ -700,7 +700,7 @@ class CompatPickleTests(unittest.TestCase): def load_tests(loader, tests, pattern): - tests.addTest(doctest.DocTestSuite()) + tests.addTest(doctest.DocTestSuite(pickle)) return tests