summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pydoc.py
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na92@gmail.com>2017-11-15 18:30:59 (GMT)
committerYury Selivanov <yury@magic.io>2017-11-15 18:30:59 (GMT)
commit762b9571c9c8c6b036f1bf90140a1d030b3f9a01 (patch)
tree8aacee139aaa773259cc43300b09e911038b7380 /Lib/test/test_pydoc.py
parentf8a4c03ede6048022f60a58d5a21b278b78a8a16 (diff)
downloadcpython-762b9571c9c8c6b036f1bf90140a1d030b3f9a01.zip
cpython-762b9571c9c8c6b036f1bf90140a1d030b3f9a01.tar.gz
cpython-762b9571c9c8c6b036f1bf90140a1d030b3f9a01.tar.bz2
bpo-32018: Fix inspect.signature repr to follow PEP 8 (#4408)
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 52830b4..2fa0893 100644
--- a/Lib/test/test_pydoc.py
+++ b/Lib/test/test_pydoc.py
@@ -824,7 +824,7 @@ class TestDescriptions(unittest.TestCase):
T = typing.TypeVar('T')
class C(typing.Generic[T], typing.Mapping[int, str]): ...
self.assertEqual(pydoc.render_doc(foo).splitlines()[-1],
- 'f\x08fo\x08oo\x08o(data:List[Any], x:int)'
+ 'f\x08fo\x08oo\x08o(data: List[Any], x: int)'
' -> Iterator[Tuple[int, Any]]')
self.assertEqual(pydoc.render_doc(C).splitlines()[2],
'class C\x08C(typing.Mapping)')