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


Groups > comp.lang.python > #77056

Re: Switching from nose to unittest2 - how to continue after an error?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:error': 0.03; 'exit': 0.09; 'function:': 0.09; 'happen.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'snippet': 0.09; 'jan': 0.12; 'failure.': 0.16; 'hits': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:after': 0.16; 'subject:continue': 0.16; 'thanks,': 0.17; 'wrote:': 0.18; 'obviously': 0.18; 'code,': 0.22; 'aug': 0.22; 'header:User-Agent:1': 0.23; 'skip': 0.24; 'mon,': 0.24; 'question': 0.24; 'header:X-Complaints-To:1': 0.27; 'header :In-Reply-To:1': 0.27; 'am,': 0.29; '25,': 0.31; 'subject:from': 0.34; 'test': 0.35; 'but': 0.35; 'subject:?': 0.36; 'two': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'expect': 0.39; 'received:71': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'failures': 0.60; 'within': 0.65; 'failures.': 0.84; 'received:fios.verizon.net': 0.84; '"how': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Switching from nose to unittest2 - how to continue after an error?
Date Tue, 26 Aug 2014 12:58:10 -0400
References <CANc-5UwXqeSbzgBQbWXEvJu-3j1bY+RU76Hz0w36_QaGt+RBaA@mail.gmail.com> <ltgatu$j7u$1@ger.gmane.org> <CANc-5Ux1pyyhtbeMDXg+2R4f+-mQQOjTjMrXmVB3MAOWOQELhQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-71-175-90-87.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
In-Reply-To <CANc-5Ux1pyyhtbeMDXg+2R4f+-mQQOjTjMrXmVB3MAOWOQELhQ@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.13469.1409072308.18130.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1409072308 news.xs4all.nl 2874 [2001:888:2000:d::a6]:50216
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:77056

Show key headers only | View raw


On 8/26/2014 4:55 AM, Skip Montanaro wrote:
> On Mon, Aug 25, 2014 at 4:47 PM, Terry Reedy <tjreedy@udel.edu> wrote:
>> I know of two ways to collect multiple failures within a test function:
>
> Thanks, but I mean multiple test failures. I fully expect a specific
> test to exit when it hits an assertion failure.

I obviously did not understand your question "How to continue after an 
error?" and still don't.  If you want to be understood, give a snippet 
of code, what happens now, and what you want to happen.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Switching from nose to unittest2 - how to continue after an error? Terry Reedy <tjreedy@udel.edu> - 2014-08-26 12:58 -0400

csiph-web