Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 0B3D1CD110 for ; Wed, 10 Sep 2014 09:01:58 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id A9D0514A19B; Wed, 10 Sep 2014 09:01:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2C7F614A195 for ; Wed, 10 Sep 2014 09:01:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 2570zpvchIdq for ; Wed, 10 Sep 2014 09:01:50 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 5E3F614A18E for ; Wed, 10 Sep 2014 09:01:49 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id E99EA98; Wed, 10 Sep 2014 09:01:49 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 10 Sep 2014 09:01:49 +0000 From: "OBATA Akio" Subject: CVS commit: pkgsrc/devel/py-testtools To: pkgsrc-changes@NetBSD.org Reply-To: obache@netbsd.org X-Mailer: log_accum Message-Id: <20140910090149.E99EA98@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: obache Date: Wed Sep 10 09:01:49 UTC 2014 Modified Files: pkgsrc/devel/py-testtools: Makefile PLIST distinfo Log Message: Update py-testtools to 1.0.0. testtools NEWS ++++++++++++++ Changes and improvements to testtools_, grouped by release. 1.0.0 ~~~~~ Long overdue, we've adopted a backwards compatibility statement and recognized that we have plenty of users depending on our behaviour - calling our version 1.0.0 is a recognition of that. Improvements ------------ * Fix a long-standing bug where tearDown and cleanUps would not be called if the test run was interrupted. This should fix leaking external resources from interrupted tests. (Robert Collins, #1364188) * Fix a long-standing bug where calling sys.exit(0) from within a test would cause the test suite to exit with 0, without reporting a failure of that test. We still allow the test suite to be exited (since catching higher order exceptions requires exceptional circumstances) but we now call a last-resort handler on the TestCase, resulting in an error being reported for the test. (Robert Collins, #1364188) * Fix an issue where tests skipped with the ``skip``* family of decorators would still have their ``setUp`` and ``tearDown`` functions called. (Thomi Richards, #https://github.com/testing-cabal/testtools/issues/86) * We have adopted a formal backwards compatibility statement (see hacking.rst) (Robert Collins) 0.9.39 ~~~~~~ Brown paper bag release - 0.9.38 was broken for some users, _jython_aware_splitext was not defined entirely compatibly. (Robert Collins, #https://github.com/testing-cabal/testtools/issues/100) 0.9.38 ~~~~~~ Bug fixes for test importing. Improvements ------------ * Discovery import error detection wasn't implemented for python 2.6 (the 'discover' module). (Robert Collins) * Discovery now executes load_tests (if present) in __init__ in all packages. (Robert Collins, http://bugs.python.org/issue16662) 0.9.37 ~~~~~~ Minor improvements to correctness. Changes ------- * ``stdout`` is now correctly honoured on ``run.TestProgram`` - before the runner objects would be created with no stdout parameter. If construction fails, the previous parameter list is attempted, permitting compatibility with Runner classes that don't accept stdout as a parameter. (Robert Collins) * The ``ExtendedToStreamDecorator`` now handles content objects with one less packet - the last packet of the source content is sent with EOF set rather than an empty packet with EOF set being sent after the last packet of the source content. (Robert Collins) 0.9.36 ~~~~~~ Welcome to our long overdue 0.9.36 release, which improves compatibility with Python3.4, adds assert_that, a function for using matchers without TestCase objects, and finally will error if you try to use setUp or tearDown twice - since that invariably leads to bad things of one sort or another happening. Changes ------- * Error if ``setUp`` or ``tearDown`` are called twice. (Robert Collins, #882884) * Make testtools compatible with the ``unittest.expectedFailure`` decorator in Python 3.4. (Thomi Richards) Improvements ------------ * Introduce the assert_that function, which allows matchers to be used independent of testtools.TestCase. (Daniel Watkins, #1243834) To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-testtools/Makefile cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-testtools/PLIST cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-testtools/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.