summaryrefslogtreecommitdiffstats
path: root/Lib/test/output
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-01-30 01:25:56 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-01-30 01:25:56 (GMT)
commitac25a38841b4b14176e52bddeb67fec9e0a81f84 (patch)
tree077e1269759a7548297e58ca0b31290da6980828 /Lib/test/output
parent10f8ba4fc6ba5fe3d8bac6625de4a157cdff5002 (diff)
downloadcpython-ac25a38841b4b14176e52bddeb67fec9e0a81f84.zip
cpython-ac25a38841b4b14176e52bddeb67fec9e0a81f84.tar.gz
cpython-ac25a38841b4b14176e52bddeb67fec9e0a81f84.tar.bz2
add test for illegal imports
Diffstat (limited to 'Lib/test/output')
-rw-r--r--Lib/test/output/test_grammar2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/output/test_grammar b/Lib/test/output/test_grammar
index b75c22f..a262e79 100644
--- a/Lib/test/output/test_grammar
+++ b/Lib/test/output/test_grammar
@@ -36,6 +36,8 @@ continue_stmt
return_stmt
raise_stmt
import_stmt
+SyntaxError expected for "def f(): from sys import *"
+SyntaxError expected for "def f(): global time; import "
global_stmt
exec_stmt
if_stmt