Ben Finney wrote:
> [Jonathan, please don't send me copies of messages sent to the
> discussion thread. I follow comp.lang.python via a non-mail interface,
> and it's irritating to get unwanted copies of messages via email.]
[Thank you for letting me know your preference. For myself, I often
app
[Jonathan, please don't send me copies of messages sent to the
discussion thread. I follow comp.lang.python via a non-mail interface,
and it's irritating to get unwanted copies of messages via email.]
Jonathan Fine <[EMAIL PROTECTED]> writes:
> Ben Finney wrote:
> > Jonathan Fine <[EMAIL PROTECTE
Ben Finney wrote:
> Jonathan Fine <[EMAIL PROTECTED]> writes:
>
>>Here's how to write some tests using Metatest. We can think of the
>>tests as an executable specification.
>>
>>from metatest.py.mymod import plus, Point
>>
>># Function plus adds two numbers.
>>plus(2, 2) == 4
>>plu
Jonathan Fine <[EMAIL PROTECTED]> writes:
> Here's how to write some tests using Metatest. We can think of the
> tests as an executable specification.
>
> from metatest.py.mymod import plus, Point
>
> # Function plus adds two numbers.
> plus(2, 2) == 4
> plus(2, '', _ex=TypeError