summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_global.py
Commit message (Collapse)AuthorAgeFilesLines
* Convert test_global, test_scope and test_grammar to unittest.Georg Brandl2006-10-281-25/+25
| | | | | I tried to enclose all tests which must be run at the toplevel (instead of inside a method) in exec statements.
* Complete the absolute import patch for the test suite. All relativeBarry Warsaw2002-07-301-1/+1
| | | | | | | | imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed.
* test_global was broken by some recent checkin. Repairing.Tim Peters2001-03-021-8/+14
|
* Add test case for global stmt at module level.Jeremy Hylton2001-02-281-0/+6
| | | | | Fix test_grammar so that it ignores warning about global stmt at module level in exec.
* Fix filter for SyntaxErrorsJeremy Hylton2001-02-281-4/+4
|
* Whitespace normalization.Tim Peters2001-02-281-1/+0
|
* verify that warnings are issued for bogus uses of globalJeremy Hylton2001-02-281-0/+40