summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ast.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_ast.py')
-rw-r--r--Lib/test/test_ast.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py
index 4883ed5..03a877b 100644
--- a/Lib/test/test_ast.py
+++ b/Lib/test/test_ast.py
@@ -58,6 +58,9 @@ exec_tests = [
"break",
# Continue
"continue",
+ # kw only funcs
+ "def f(*, kw=1): pass",
+ "def f(*, **kw): pass",
]
# These are compiled through "single"