Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace catch_warnings with check_warnings when it makes sense. Use ↵ | Florent Xicluna | 2010-03-31 | 1 | -3/+4 |
| | | | | assertRaises context manager to simplify some tests. | ||||
* | Convert test_global, test_scope and test_grammar to unittest. | Georg Brandl | 2006-10-28 | 1 | -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 relative | Barry Warsaw | 2002-07-30 | 1 | -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 Peters | 2001-03-02 | 1 | -8/+14 |
| | |||||
* | Add test case for global stmt at module level. | Jeremy Hylton | 2001-02-28 | 1 | -0/+6 |
| | | | | | Fix test_grammar so that it ignores warning about global stmt at module level in exec. | ||||
* | Fix filter for SyntaxErrors | Jeremy Hylton | 2001-02-28 | 1 | -4/+4 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-02-28 | 1 | -1/+0 |
| | |||||
* | verify that warnings are issued for bogus uses of global | Jeremy Hylton | 2001-02-28 | 1 | -0/+40 |