diff options
| author | Dong-hee Na <donghee.na92@gmail.com> | 2017-11-16 03:30:59 +0900 |
|---|---|---|
| committer | Yury Selivanov <yury@magic.io> | 2017-11-15 13:30:59 -0500 |
| commit | 762b9571c9c8c6b036f1bf90140a1d030b3f9a01 (patch) | |
| tree | 8aacee139aaa773259cc43300b09e911038b7380 /Lib/test/test_inspect.py | |
| parent | f8a4c03ede6048022f60a58d5a21b278b78a8a16 (diff) | |
| download | cpython-git-762b9571c9c8c6b036f1bf90140a1d030b3f9a01.tar.gz | |
bpo-32018: Fix inspect.signature repr to follow PEP 8 (#4408)
Diffstat (limited to 'Lib/test/test_inspect.py')
| -rw-r--r-- | Lib/test/test_inspect.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index e64215d467..13a86b12dd 100644 --- a/Lib/test/test_inspect.py +++ b/Lib/test/test_inspect.py @@ -2875,12 +2875,12 @@ class TestSignatureObject(unittest.TestCase): def foo(a:int=1, *, b, c=None, **kwargs) -> 42: pass self.assertEqual(str(inspect.signature(foo)), - '(a:int=1, *, b, c=None, **kwargs) -> 42') + '(a: int = 1, *, b, c=None, **kwargs) -> 42') def foo(a:int=1, *args, b, c=None, **kwargs) -> 42: pass self.assertEqual(str(inspect.signature(foo)), - '(a:int=1, *args, b, c=None, **kwargs) -> 42') + '(a: int = 1, *args, b, c=None, **kwargs) -> 42') def foo(): pass |
