ignored test cases in unittest

Terry Yin terry.yinzhe at gmail.com
Mon Aug 17 09:38:48 EDT 2009


On Aug 17, 8:23 pm, David House <dmho... at gmail.com> wrote: > > Note that the
unittest module now supports the `skip' and > `expectedFailure' decorators,
which seem to describe some of the > solutions here. > > Seehttp://
docs.python.org/3.1/library/unittest.html#skipping-tests-and-e... > > -- >
-David Yes, indeed! I'm using 2.6 now. It seemed I need to copy untitest.py
from 3.1. But the docs.python.org is hell slow from where I am (China), not
even working except the title:-( br, Terry

On Mon, Aug 17, 2009 at 8:23 PM, David House <dmhouse at gmail.com> wrote:

> 2009/8/16 Terry <terry.yinzhe at gmail.com>:
> > Thanks for the solutions. I think the decorator idea is what I'm look
> > for:-)
>
> Note that the unittest module now supports the `skip' and
> `expectedFailure' decorators, which seem to describe some of the
> solutions here.
>
> See
> http://docs.python.org/3.1/library/unittest.html#skipping-tests-and-expected-failures
>
> --
> -David
>



-- 
-------------------------
Blog: http://terry-yinzhe.spaces.live.com/
twitter: http://twitter.com/terryyin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090817/74298729/attachment-0001.html>


More information about the Python-list mailing list