This website requires JavaScript.
Explore
Help
Sign In
traverseda
/
cpython
Watch
1
Star
0
Fork
You've already forked cpython
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
7a25765f48
cpython
/
Lib
/
test
/
output
/
test_global
6 lines
124 B
Plaintext
Raw
Normal View
History
Unescape
Escape
verify that warnings are issued for bogus uses of global
2001-02-27 21:51:01 -04:00
test_global
update output to reflect exception that is now raised
2001-02-28 19:24:22 -04:00
got SyntaxError as expected
got SyntaxError as expected
got SyntaxError as expected
Add test case for global stmt at module level. Fix test_grammar so that it ignores warning about global stmt at module level in exec.
2001-02-28 19:49:19 -04:00
got SyntaxError as expected