diff options
Diffstat (limited to 'Lib/test/output/test_grammar')
-rw-r--r-- | Lib/test/output/test_grammar | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/test/output/test_grammar b/Lib/test/output/test_grammar index 8ca7c33..bc9c9d4 100644 --- a/Lib/test/output/test_grammar +++ b/Lib/test/output/test_grammar @@ -24,6 +24,8 @@ extended print_stmt 1 2 3 1 1 1 hello world +SyntaxError expected for "print ," +SyntaxError expected for "print >> x," del_stmt pass_stmt flow_stmt @@ -56,6 +58,6 @@ classdef [(1, 'Apple'), (1, 'Banana'), (1, 'Coconut'), (2, 'Apple'), (2, 'Banana'), (2, 'Coconut'), (3, 'Apple'), (3, 'Banana'), (3, 'Coconut'), (4, 'Apple'), (4, 'Banana'), (4, 'Coconut'), (5, 'Apple'), (5, 'Banana'), (5, 'Coconut')] [(1, 'Banana'), (1, 'Coconut'), (2, 'Banana'), (2, 'Coconut'), (3, 'Banana'), (3, 'Coconut'), (4, 'Banana'), (4, 'Coconut'), (5, 'Banana'), (5, 'Coconut')] [0, 0, 0] -good: got a SyntaxError as expected -good: got a SyntaxError as expected +SyntaxError expected for "[i, s for i in nums for s in strs]" +SyntaxError expected for "[x if y]" [('Boeing', 'Airliner'), ('Boeing', 'Engine'), ('Ford', 'Engine'), ('Macdonalds', 'Cheeseburger')] |