[Imps] Patch to convert test_parser to unittest

Anne van Kesteren annevk at opera.com
Thu Dec 14 10:51:00 PST 2006


On Thu, 14 Dec 2006 19:47:12 +0100, James Graham <jg307 at cam.ac.uk> wrote:
>>>> The default message produced by UnitTest.assertEqual includes
>>>> representations for both the expected and actual parse trees.  If the
>>>> formatting is an issue, a third parameter can be passed to
>>>> assertEqual that contains the exact message you would like to be
>>>> produced in case of failure.
>>>
>>> Ah, I had missed that somehow. OK, changes checked in with additional
>>> error messages. Thanks!
>>
>> What about runtests.py?
>
> Added.

Hmm, this stuff broke my simple_parser.py...

* Goes to investigate.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>



More information about the Implementors mailing list