summaryrefslogtreecommitdiff
path: root/testsuite/python3.py
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/python3.py')
-rw-r--r--testsuite/python3.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/python3.py b/testsuite/python3.py
index be7c58f..709695a 100644
--- a/testsuite/python3.py
+++ b/testsuite/python3.py
@@ -37,3 +37,10 @@ class Class:
def m(self):
xs: List[int] = []
+
+
+# Used to trigger W504
+def f(
+ x: str = ...
+):
+ ...