summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorJimmy Jia <tesrin@gmail.com>2017-12-16 13:29:23 -0500
committerJimmy Jia <tesrin@gmail.com>2017-12-16 13:30:30 -0500
commitd9efb8f46220dc24f74cb8e0f963786d47deecdc (patch)
tree3630c37492b580ad4db3ea243dc2c88e94433f27 /testsuite
parent4f5d398f9256727ad8fd7f67c45ea60a8fad5a4a (diff)
downloadpep8-d9efb8f46220dc24f74cb8e0f963786d47deecdc.tar.gz
Add E252 on missing whitespace for annotated parameter defaults
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/E25.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/E25.py b/testsuite/E25.py
index dde95b8..71d3f80 100644
--- a/testsuite/E25.py
+++ b/testsuite/E25.py
@@ -42,3 +42,6 @@ async def add(a: int = 0, b: int = 0) -> int:
#: E272:1:6
async def add(a: int = 0, b: int = 0) -> int:
return a + b
+#: E252:1:15 E252:1:16 E252:1:27 E252:1:36
+def add(a: int=0, b: int =0, c: int= 0) -> int:
+ return a + b + c