https://github.com/python/cpython/commit/bfad0b56d9d2d867af01d146fb72862e8a4b10ed
commit: bfad0b56d9d2d867af01d146fb72862e8a4b10ed
branch: 3.12
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: serhiy-storchaka <storch...@gmail.com>
date: 2025-03-11T10:42:47Z
summary:

[3.12] gh-93096: Fix loading doctests in test_pickle (GH-131069) (GH-131081)

(cherry picked from commit 3bb20d13a88a178dae809016b3d0a457f38aa686)

Co-authored-by: donBarbos <donbar...@proton.me>

files:
M Lib/test/test_pickle.py

diff --git a/Lib/test/test_pickle.py b/Lib/test/test_pickle.py
index 32fb3590ec6afe..e232fad1b4d005 100644
--- a/Lib/test/test_pickle.py
+++ b/Lib/test/test_pickle.py
@@ -589,7 +589,7 @@ def test_multiprocessing_exceptions(self):
 
 
 def load_tests(loader, tests, pattern):
-    tests.addTest(doctest.DocTestSuite())
+    tests.addTest(doctest.DocTestSuite(pickle))
     return tests
 
 

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to