diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-03-28 23:53:22 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2000-03-28 23:53:22 (GMT) |
commit | 003663d78372a33ddbc57594d0176fa39996a84d (patch) | |
tree | a4f955cec1cecc092b4b901762c4bb023e61eba3 /Lib/test | |
parent | aed0d8deb0c810db32f5370c0f089266bb349962 (diff) | |
download | cpython-003663d78372a33ddbc57594d0176fa39996a84d.zip cpython-003663d78372a33ddbc57594d0176fa39996a84d.tar.gz cpython-003663d78372a33ddbc57594d0176fa39996a84d.tar.bz2 |
fix previous checkin
Diffstat (limited to 'Lib/test')
-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}) |