From 762b9571c9c8c6b036f1bf90140a1d030b3f9a01 Mon Sep 17 00:00:00 2001 From: Dong-hee Na Date: Thu, 16 Nov 2017 03:30:59 +0900 Subject: bpo-32018: Fix inspect.signature repr to follow PEP 8 (#4408) --- Lib/test/test_pydoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_pydoc.py') diff --git a/Lib/test/test_pydoc.py b/Lib/test/test_pydoc.py index 52830b49ae..2fa089320f 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)') -- cgit v1.2.1