Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4417

Re: skipping one unittest assertion?

References <roy-880487.10134901052011@news.panix.com> <Xns9ED87276142BEOKB@188.40.43.213> <roy-59680A.14162401052011@news.panix.com>
Date 2011-05-02 06:51 +1000
Subject Re: skipping one unittest assertion?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1047.1304283107.9059.python-list@python.org> (permalink)

Show all headers | View raw


On Mon, May 2, 2011 at 4:16 AM, Roy Smith <roy@panix.com> wrote:
>>       Can't you just comment out that line?
>
> Sure, but the point of @skip and @expectFailure is that they leave a
> visible trail in the test output that you need to go back and fix
> something.

Comment it out and add a line of output manually?

Make everything as simple as possible (but no simpler).

Chris Angelico

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar


Thread

skipping one unittest assertion? Roy Smith <roy@panix.com> - 2011-05-01 10:13 -0400
  Re: skipping one unittest assertion? Ben Finney <ben+python@benfinney.id.au> - 2011-05-02 00:31 +1000
    Re: skipping one unittest assertion? Roy Smith <roy@panix.com> - 2011-05-01 11:55 -0400
      Re: skipping one unittest assertion? Ben Finney <ben+python@benfinney.id.au> - 2011-05-02 07:45 +1000
  Re: skipping one unittest assertion? "OKB (not okblacke)" <brenNOSPAMbarn@NObrenSPAMbarn.net> - 2011-05-01 18:14 +0000
    Re: skipping one unittest assertion? Roy Smith <roy@panix.com> - 2011-05-01 14:16 -0400
      Re: skipping one unittest assertion? Chris Angelico <rosuav@gmail.com> - 2011-05-02 06:51 +1000

csiph-web