Path: csiph.com!weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!newsfeed0.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: Quote of the day Date: Wed, 18 May 2016 22:32:21 +1000 Lines: 16 Message-ID: References: <573acd5f$0$1603$c3e8da3$5496439d@news.astraweb.com> <87twhxf5nl.fsf@elektro.pacujo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de nImVjHgqPcnL0NNqswFnVgSUp8Px82Bc3st1i1feZcbA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'tests,': 0.07; 'unittest': 0.07; 'cc:addr:python-list': 0.09; 'wed,': 0.15; '10:05': 0.16; '2016': 0.16; 'commented': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'passed.': 0.16; 'reason.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'utterly': 0.16; 'wrote:': 0.16; "shouldn't": 0.18; 'tests': 0.18; 'library': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'downloaded': 0.24; 'header:In- Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'allows': 0.30; 'reported': 0.32; 'received:google.com': 0.35; 'received:74.125.82': 0.35; 'unit': 0.35; 'framework': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'reports': 0.38; 'test': 0.39; 'subject:the': 0.39; 'some': 0.40; 'thomas': 0.63; 'subject:day': 0.67; 'discovered': 0.83; 'chrisa': 0.84; 'subject:Quote': 0.84; 'to:none': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc; bh=m5OsxzIXD6FIjQgS9ceRcKMx5vCON3EVNnUDr5KxcGA=; b=0h6BiKQOXy4sWrQKpPKL57fyghZJHtEKHM7sWFFE1eqLGETbVEomwNZ9opHTgxesOk NknrWhLtjhjnSjr1RDgKjiDCqYlq89NjuR3Q5bGL0AOJFQhu9IB+UD7Mbu6GaouS9X8+ RkJX/SWWPokVfFsydEu6MGbl4c6lt8LjyZ1Ws0Uncdn79BhvppdvjTT9KQ37waNJKmUv OuxYZpOS3cULLtPvYKkeu2ibxfUp1oNd0/MBhAT5CD0q01F3GX7dKGKMlR+El4Iw4Bgt joYYdBGYnD0Zm0gV1P4AownhcB6S1aU/FobU0hrRmIlAO2e7mcPUpt7fchYjybpLj0i3 YiOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc; bh=m5OsxzIXD6FIjQgS9ceRcKMx5vCON3EVNnUDr5KxcGA=; b=SgaFa1TR5zzv2OImYbqaZ3U6hE6JOBGgVnu/6dTzk0CxcBGMOjzPmCOFgHgGUtga6c D3rw86Ngv/wyo0KPe3OHup+14C6dauVeR39tosHkBt8UxYe0D4mpPHc23hjCcXS67rk1 XTV83FqgPq5zpFvPnRqQABALsJDwORXYimeAa8E3pE6fh6jS23ALKzuR35UF7ERrOh7d 0ULvuIxPyIhku1Y2UeWgy/PevDkYwjd3lDONW3vWBrGIgIo1bZIXsmP/oLfceHK3X3kj 9+DvO/Q+9+DOoZsv1uqdUvNThtn3WDrnVKJA1sq1cKKEAGL4LiWY9yGp9NfzcPxFZaMy QUrg== X-Gm-Message-State: AOPr4FWy5k9Ebmi7epvnc4XvZpVCaLSplxd6TUBAAqoWw/dn+ogtyo5MUGmsqjYcLP4mi3IIA7AlMbLQg+ytWg== X-Received: by 10.194.186.237 with SMTP id fn13mr7404539wjc.47.1463574742057; Wed, 18 May 2016 05:32:22 -0700 (PDT) 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: X-Mailman-Original-References: <573acd5f$0$1603$c3e8da3$5496439d@news.astraweb.com> <87twhxf5nl.fsf@elektro.pacujo.net> Xref: csiph.com comp.lang.python:108761 On Wed, May 18, 2016 at 10:05 PM, Thomas Mlynarczyk wrote: > On 17/05/16 12:39, Cem Karan wrote: >> Just downloaded and used a library that came with unit tests, which all passed. >> [...] >> I discovered they had commented out the bodies of some of the unit > tests... > > Shouldn't the unit test framework have those "empty" tests reported as > "todo"/"incomplete" or whatever? (I know that PHPUnit reports such tests > as "passed" which I find utterly wrong.) In Python, the unittest framework allows you to 'skip' tests for any reason. That would be the best. ChrisA