summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_parser.py
Commit message (Collapse)AuthorAgeFilesLines
* Change the PyUnit-based tests to use the test_main() approach. ThisFred Drake2001-09-201-2/+10
| | | | | allows using the tests with unittest.py as a script. The tests will still run when run as a script themselves.
* Use the "st" versions of the "ast" calls in the parser module -- there isFred Drake2001-07-171-2/+2
| | | | no reason to pretend the syntax trees we're dealing with are abstract.
* Added tests for the new yield support in the parser module.Fred Drake2001-07-171-1/+132
| | | | (Should be merged with descr branch.)
* Convert the parser module test to use PyUnit.Fred Drake2001-06-041-208/+212
|
* a bold attempt to fix things broken by MAL's verify patch: importFredrik Lundh2001-01-171-1/+1
| | | | 'verify' iff it's used by a test module...
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-1/+1
| | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* Add more regression tests, including for the import statement variations.Fred Drake2001-01-071-10/+35
| | | | | These will detect regression on SF bug #127271 and other import statement bugs.
* Added tests to avoid regression on bug #125375.Fred Drake2000-12-111-1/+20
| | | | | | | | roundtrip(): Show the offending syntax tree when things break; this makes it a little easier to debug the module by adding test cases. (Still need better tests for this module, but there's not enough time today.)
* Update the parser module to support augmented assignment.Fred Drake2000-08-251-22/+84
| | | | Add some test cases.
* Add a minimal test suite for the parser module.Fred Drake2000-08-211-0/+116