Fred Drake
6e4f2c09df
Use the "st" versions of the "ast" calls in the parser module -- there is
...
no reason to pretend the syntax trees we're dealing with are abstract.
2001-07-17 19:33:25 +00:00
Fred Drake
cf580c7ea1
Added tests for the new yield support in the parser module.
...
(Should be merged with descr branch.)
2001-07-17 03:01:29 +00:00
Fred Drake
58422e5820
Convert the parser module test to use PyUnit.
2001-06-04 03:56:24 +00:00
Fredrik Lundh
f785042433
a bold attempt to fix things broken by MAL's verify patch: import
...
'verify' iff it's used by a test module...
2001-01-17 21:51:36 +00:00
Marc-André Lemburg
3661908a6a
This patch removes all uses of "assert" in the regression test suite
...
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.
2001-01-17 19:11:13 +00:00
Fred Drake
e3fb18c1c4
Add more regression tests, including for the import statement variations.
...
These will detect regression on SF bug #127271 and other import statement
bugs.
2001-01-07 06:02:19 +00:00
Fred Drake
e1578ce204
Added tests to avoid regression on bug #125375 .
...
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.)
2000-12-11 22:12:09 +00:00
Fred Drake
28f739aad4
Update the parser module to support augmented assignment.
...
Add some test cases.
2000-08-25 22:42:40 +00:00
Fred Drake
79ca79d1a9
Add a minimal test suite for the parser module.
2000-08-21 22:30:53 +00:00