]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-93096: Fix loading doctests in test_pickle (GH-131069) (GH-131081)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 11 Mar 2025 10:42:47 +0000 (11:42 +0100)
committerGitHub <noreply@github.com>
Tue, 11 Mar 2025 10:42:47 +0000 (10:42 +0000)
(cherry picked from commit 3bb20d13a88a178dae809016b3d0a457f38aa686)

Co-authored-by: donBarbos <donbarbos@proton.me>
Lib/test/test_pickle.py

index 32fb3590ec6afe6d6ae5c7104d9feca8d517acd8..e232fad1b4d005808d00fe3e5b6fb875985af975 100644 (file)
@@ -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