From 56a609bd9d89b95234aedf775c63b1d0be6f2a80 Mon Sep 17 00:00:00 2001 From: donBarbos Date: Tue, 11 Mar 2025 14:25:25 +0400 Subject: [PATCH] gh-93096: Load doctests in `test_pickle` (GH-131069) Add doctests to unittest for `pickle` (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 4ec966d8351490..385b257164ef95 100644 --- a/Lib/test/test_pickle.py +++ b/Lib/test/test_pickle.py @@ -700,7 +700,7 @@ def test_multiprocessing_exceptions(self): def load_tests(loader, tests, pattern): - tests.addTest(doctest.DocTestSuite()) + tests.addTest(doctest.DocTestSuite(pickle)) return tests