Content-Length: 981 | pFad | http://github.com/python/cpython/pull/136479.patch
thub.com
From 24b92d250a10e412e24b43dde30185a5571bdbbc Mon Sep 17 00:00:00 2001
From: Arseniy Krupchik
Date: Wed, 9 Jul 2025 22:44:25 +0400
Subject: [PATCH] test_pydoc.test_pydoc now passes with -OO
---
Lib/test/test_pydoc/test_pydoc.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Lib/test/test_pydoc/test_pydoc.py b/Lib/test/test_pydoc/test_pydoc.py
index d1d6f4987def0c..d40411eecdd17a 100644
--- a/Lib/test/test_pydoc/test_pydoc.py
+++ b/Lib/test/test_pydoc/test_pydoc.py
@@ -1461,7 +1461,7 @@ def test_special_form(self):
self.assertIn('NoReturn = typing.NoReturn', doc)
self.assertIn(typing.NoReturn.__doc__.strip().splitlines()[0], doc)
else:
- self.assertIn('NoReturn = class _SpecialForm(_Final)', doc)
+ self.assertIn('NoReturn = class _SpecialForm(_Final, _NotIterable)', doc)
def test_typing_pydoc(self):
def foo(data: typing.List[typing.Any],
--- a PPN by Garber Painting Akron. With Image Size Reduction included!Fetched URL: http://github.com/python/cpython/pull/136479.patch
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy