summaryrefslogtreecommitdiff
path: root/Lib/test/test_pydoc.py
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2021-07-03 21:08:42 -0700
committerGitHub <noreply@github.com>2021-07-03 21:08:42 -0700
commit9bf7c2d638a582af2444bc864feba13ab8957b68 (patch)
treea273f9feb6019ad8ce8675fe7142dd1e74d14538 /Lib/test/test_pydoc.py
parent000b9e803a7ec067da0a43f9a3fec16f1078215a (diff)
downloadcpython-git-9bf7c2d638a582af2444bc864feba13ab8957b68.tar.gz
[3.10] bpo-44559: [Enum] revert enum module to 3.9 (GH-27010)
* [Enum] revert enum module to 3.9
Diffstat (limited to 'Lib/test/test_pydoc.py')
-rw-r--r--Lib/test/test_pydoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pydoc.py b/Lib/test/test_pydoc.py
index c862a805bb..0afa3e6fce 100644
--- a/Lib/test/test_pydoc.py
+++ b/Lib/test/test_pydoc.py
@@ -453,7 +453,7 @@ class PydocDocTest(unittest.TestCase):
zero = 0
one = 1
doc = pydoc.render_doc(BinaryInteger)
- self.assertIn('BinaryInteger.zero', doc)
+ self.assertIn('<BinaryInteger.zero: 0>', doc)
def test_mixed_case_module_names_are_lower_cased(self):
# issue16484