Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Ethan Furman Newsgroups: comp.lang.python Subject: Re: Quote of the day Date: Wed, 18 May 2016 16:30:54 -0700 Lines: 18 Message-ID: References: <573acd5f$0$1603$c3e8da3$5496439d@news.astraweb.com> <87twhxf5nl.fsf@elektro.pacujo.net> <8e92e249-c46e-4b92-a93b-778879461273@googlegroups.com> <573CFB2E.8000703@stoneleaf.us> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 7fgLCkym1uJVhAgH5dZ6hQcqQVV2Wzjus/wToyEhsVHw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.035 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; 'dummy': 0.16; 'empty.': 0.16; 'gregory': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'sure.': 0.16; 'wrote:': 0.16; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; "doesn't": 0.26; 'have,': 0.27; 'function': 0.28; 'clever': 0.29; '~ethan~': 0.29; "i'm": 0.30; 'code': 0.30; 'putting': 0.30; 'guess': 0.31; 'could': 0.35; 'but': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'test': 0.39; 'sure': 0.39; 'subject:the': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'determine': 0.61; 'real': 0.62; 'charset:windows-1252': 0.62; 'subject:day': 0.67; 'batchelder': 0.84; 'decorator.': 0.84; 'subject:Quote': 0.84 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <573CFB2E.8000703@stoneleaf.us> X-Mailman-Original-References: <573acd5f$0$1603$c3e8da3$5496439d@news.astraweb.com> <87twhxf5nl.fsf@elektro.pacujo.net> <8e92e249-c46e-4b92-a93b-778879461273@googlegroups.com> Xref: csiph.com comp.lang.python:108791 On 05/18/2016 03:52 PM, Gregory Ewing wrote: > Ned Batchelder wrote: >> I'm not sure how >> the test runner could determine that it was empty. I guess it could >> introspect the test function to see if it had any real code in it, > > Then people would just get clever at putting dummy code > in the test that fools the test runner but doesn't really > test anything... Some would have, sure. Either way, it's a solved issue now because we (finally ;) have the @skip decorator. -- ~Ethan~