Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:error': 0.03; 'output': 0.05; 'default.': 0.09; 'indicates': 0.09; 'unittest': 0.09; 'python': 0.11; '2.7': 0.14; 'from:addr:pobox.com': 0.16; 'from:addr:skip': 0.16; 'nose': 0.16; 'subject:after': 0.16; 'subject:continue': 0.16; 'sender:addr:gmail.com': 0.17; 'slightly': 0.19; 'appears': 0.22; 'skip': 0.24; 'source': 0.25; 'newer': 0.30; 'message-id:@mail.gmail.com': 0.30; 'subject:from': 0.34; 'something': 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'enough': 0.39; 'how': 0.40; 'first': 0.61; 'capable': 0.67; 'abandon': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=nuBw1Q8nmt4w3Wf4J0Gm0k/B5mFM9NwbG9xKcrvuUqE=; b=e6bJZ37VcS6uTLJstlU1y4v5Ob9D42WHFh82feJzzHvgxLUP3cbZGctx56TYC0XZBv M75VznLzBJjPXsMI1pMwOaurrBoPnTOHDdtjsonD874TgOulSVvIAnfoSVjOpS5zZtWe jYHUQldrpdQJY0GPze4uOdZeKD+roYZ2R/TIN23eHclNy82+84m/NQyGWgvgLdXI5OM9 hZt/RZGxARRvtNJvrpD+AEtcuI8GLoGH2XtE/ayVQBhBDnsj+6PE7SBv4hhl3ObB5Q3X 1erwJzpgCdD7R7U8A8Ycd2DtvqO75D6s5IEmf/i3ulF6dlkEi/IP8ATnf52p+D9jDBKz 2qtQ== MIME-Version: 1.0 X-Received: by 10.42.201.134 with SMTP id fa6mr2545136icb.73.1408990390265; Mon, 25 Aug 2014 11:13:10 -0700 (PDT) Sender: skip.montanaro@gmail.com Date: Mon, 25 Aug 2014 13:13:10 -0500 X-Google-Sender-Auth: DftBX0EBmGify4Kzph0ZRuprhK8 Subject: Switching from nose to unittest2 - how to continue after an error? From: Skip Montanaro To: Python Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1408990393 news.xs4all.nl 2853 [2001:888:2000:d::a6]:48981 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:76994 It appears that unittest in Python 2.7 should be capable enough that I can abandon nose in favor of python -m unittest. How do I get it to continue past the first failure? The --help output indicates that a -f flag causes it to "fail fast", however, that appears to be the default. How do I get it to continue after the first failure? FWIW, I am using something slightly newer than Python 2.7.5 (built from source sometime before 2.7.6 was released). Thx, Skip