summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonBarbos <donbarbos@proton.me>2025-03-11 10:25:25 (GMT)
committerGitHub <noreply@github.com>2025-03-11 10:25:25 (GMT)
commit3bb20d13a88a178dae809016b3d0a457f38aa686 (patch)
treeb2169cdd5cc972f20ffe2070ccc1eb7828851a5b
parentad0f618ab3eb1f26f8830a863aaf7bb70835c00d (diff)
downloadcpython-3bb20d13a88a178dae809016b3d0a457f38aa686.zip
cpython-3bb20d13a88a178dae809016b3d0a457f38aa686.tar.gz
cpython-3bb20d13a88a178dae809016b3d0a457f38aa686.tar.bz2
gh-93096: Load doctests in `test_pickle` (#131069)
Add doctests to unittest for `pickle`
-rw-r--r--Lib/test/test_pickle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pickle.py b/Lib/test/test_pickle.py
index 4ec966d..385b257 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