Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.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.085 X-Spam-Evidence: '*H*': 0.83; '*S*': 0.00; 'output': 0.12; 'am,': 0.14; 'wrote:': 0.14; 'roy': 0.16; 'subject:unittest': 0.16; 'sure,': 0.16; 'header:In-Reply-To:1': 0.22; '(but': 0.22; 'mon,': 0.22; 'received:209.85.214.174': 0.23; 'received:mail- iw0-f174.google.com': 0.23; 'fix': 0.24; 'chris': 0.27; 'message- id:@mail.gmail.com': 0.28; 'subject:?': 0.29; 'comment': 0.30; "can't": 0.31; 'to:addr:python-list': 0.32; 'test': 0.33; 'point': 0.35; 'skip:@ 10': 0.35; 'visible': 0.35; 'received:209.85': 0.37; 'received:google.com': 0.38; 'but': 0.38; 'received:209.85.214': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.39; 'add': 0.39; 'header:Received:5': 0.40; 'simple': 0.60; 'back': 0.61; '2011': 0.62; 'subject:one': 0.73; 'something.': 0.91; 'trail': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=zyoBCkYWNWSaWUOdhKI8HjWAw5nNxe6tD2H8jaq4WMU=; b=iG5kHBAKi4U9Lvd/RhpFIvKKXES997S1aAINn0kgyWd8ig52ULA/Ttoy6gyLw831lT EpgC9VsE+0Lh/RFOKBFxngbL4zCyBHiQ5QzE1OZM1uZ8pNbynGuUZyX8WAZ1swOfnf4W JFWDvJtDpV4TWCnb5UquFz22Yq+TYZEnIRt5k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=n6IDmGTZf7O/d6vA8PPmR0itNlTNwWmWIxakT+XzrHY/YGC0r7Hw7ld/CTSb/PWIz2 YWhNle/eRepUpZmglJD2boOYcjWtFq711Rw2nvioNpx9q72kZh3rQjDqatRv0TlhS2b1 63pv1Hnl10ypFXRydj3vInXTh7SoE3rCJNMAI= MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 2 May 2011 06:51:45 +1000 Subject: Re: skipping one unittest assertion? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 12 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1304283108 news.xs4all.nl 81476 [::ffff:82.94.164.166]:58714 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:4417 On Mon, May 2, 2011 at 4:16 AM, Roy Smith wrote: >> =A0 =A0 =A0 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