From: donBarbos Date: Tue, 11 Mar 2025 10:25:25 +0000 (+0400) Subject: gh-93096: Load doctests in `test_pickle` (#131069) X-Git-Tag: v3.14.0a6~86 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3bb20d13a88a178dae809016b3d0a457f38aa686;p=thirdparty%2FPython%2Fcpython.git gh-93096: Load doctests in `test_pickle` (#131069) Add doctests to unittest for `pickle` --- 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