diff options
-rw-r--r-- | Lib/test/output/test_extcall | 7 | ||||
-rw-r--r-- | Lib/test/output/test_grammar | 23 | ||||
-rw-r--r-- | Lib/test/test_extcall.py | 2 |
3 files changed, 8 insertions, 24 deletions
diff --git a/Lib/test/output/test_extcall b/Lib/test/output/test_extcall index 9a5fb37..f4369b5 100644 --- a/Lib/test/output/test_extcall +++ b/Lib/test/output/test_extcall @@ -4,6 +4,8 @@ test_extcall (1, 2) {} (1, 2, 3) {} (1, 2, 3, 4, 5) {} +(1, 2, 3, 4, 5) {} +(1, 2, 3, 4, 5) {} (1, 2, 3) {'b': 5, 'a': 4} (1, 2, 3, 4, 5) {'b': 7, 'a': 6} (1, 2, 3, 6, 7) {'y': 5, 'b': 9, 'x': 4, 'a': 8} @@ -16,3 +18,8 @@ TypeError: not enough arguments; expected 1, got 0 1 (2, 3, 4, 5) {} keyword parameter redefined: x keyword parameter redefined: b +keywords must be strings +unexpected keyword argument: e +* argument must be a sequence +** argument must be a dictionary +3 512 1 diff --git a/Lib/test/output/test_grammar b/Lib/test/output/test_grammar index ba0143d..1926e4d 100644 --- a/Lib/test/output/test_grammar +++ b/Lib/test/output/test_grammar @@ -42,29 +42,6 @@ additive ops multiplicative ops unary ops selectors -. -. -. -. -. -. -. -. -. -. -. -. -. -. -. -. -. -. -. -. -. -. -. atoms classdef diff --git a/Lib/test/test_extcall.py b/Lib/test/test_extcall.py index 422ccea..9b5994d 100644 --- a/Lib/test/test_extcall.py +++ b/Lib/test/test_extcall.py @@ -16,7 +16,7 @@ f(1, 2, 3) f(1, 2, 3, *(4, 5)) f(1, 2, 3, *[4, 5]) -f(1, 2, 3, *UserList([4, 5]) +f(1, 2, 3, *UserList([4, 5])) f(1, 2, 3, **{'a':4, 'b':5}) f(1, 2, 3, *(4, 5), **{'a':6, 'b':7}) f(1, 2, 3, x=4, y=5, *(6, 7), **{'a':8, 'b':9}) |