This website requires JavaScript.
Explore
Help
Register
Sign In
Rooba
/
cpython
mirror of
https://github.com/python/cpython.git
Watch
1
Star
0
Fork
You've already forked cpython
0
Code
Issues
Packages
Projects
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-28 01:51:01 +00:00
test_global
update output to reflect exception that is now raised
2001-02-28 23:24:22 +00: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 23:49:19 +00:00
got SyntaxError as expected