Received: by mail.netbsd.org (Postfix, from userid 605) id 5E07284D8C; Thu, 22 Feb 2018 09:34:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id DE07284D7B for ; Thu, 22 Feb 2018 09:34:09 +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 H7FohJGy2XW9 for ; Thu, 22 Feb 2018 09:34:09 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 549D484D04 for ; Thu, 22 Feb 2018 09:34:09 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 4DE11FB40; Thu, 22 Feb 2018 09:34:09 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_151929204925040" MIME-Version: 1.0 Date: Thu, 22 Feb 2018 09:34:09 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel/py-test To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20180222093409.4DE11FB40@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_151929204925040 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Thu Feb 22 09:34:09 UTC 2018 Modified Files: pkgsrc/devel/py-test: Makefile distinfo Log Message: py-test: updated to 3.4.1 Pytest 3.4.1 Bug Fixes Move import of doctest.UnexpectedException to top-level to avoid possible errors when using --pdb. Added printing of captured stdout/stderr before entering pdb, and improved a test which was giving false negatives about output capturing. Fix ordering of tests using parametrized fixtures which can lead to fixtures being created more than necessary. Fix bug where logging happening at hooks outside of "test run" hooks would cause an internal error. Detect arguments injected by unittest.mock.patch decorator correctly when pypi mock.patch is installed and imported. Errors shown when a pytest.raises() with match= fails are now cleaner on what happened: When no exception was raised, the "matching '...'" part got removed as it falsely implies that an exception was raised but it didn't match. When a wrong exception was raised, it's now thrown Fixed output capture handling in doctests on macOS. Improved Documentation Add Sphinx parameter docs for match and message args to pytest.raises. Trivial/Internal Changes pytest has changed the publication procedure and is now being published to PyPI directly from Travis. Rename ParameterSet._for_parameterize() to _for_parametrize() in order to comply with the naming convention. Skip failing pdb/doctest test on mac. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 pkgsrc/devel/py-test/Makefile cvs rdiff -u -r1.40 -r1.41 pkgsrc/devel/py-test/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_151929204925040 Content-Disposition: inline Content-Length: 1623 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-test/Makefile diff -u pkgsrc/devel/py-test/Makefile:1.43 pkgsrc/devel/py-test/Makefile:1.44 --- pkgsrc/devel/py-test/Makefile:1.43 Fri Feb 2 11:53:22 2018 +++ pkgsrc/devel/py-test/Makefile Thu Feb 22 09:34:09 2018 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.43 2018/02/02 11:53:22 adam Exp $ +# $NetBSD: Makefile,v 1.44 2018/02/22 09:34:09 adam Exp $ -DISTNAME= pytest-3.4.0 +DISTNAME= pytest-3.4.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest/} Index: pkgsrc/devel/py-test/distinfo diff -u pkgsrc/devel/py-test/distinfo:1.40 pkgsrc/devel/py-test/distinfo:1.41 --- pkgsrc/devel/py-test/distinfo:1.40 Fri Feb 2 11:53:22 2018 +++ pkgsrc/devel/py-test/distinfo Thu Feb 22 09:34:09 2018 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.40 2018/02/02 11:53:22 adam Exp $ +$NetBSD: distinfo,v 1.41 2018/02/22 09:34:09 adam Exp $ -SHA1 (pytest-3.4.0.tar.gz) = 70d072bcf075e08d210aadae8ac42a817748ea25 -RMD160 (pytest-3.4.0.tar.gz) = 4a5da71ed58d921206be35b97f9758e56ac25e6b -SHA512 (pytest-3.4.0.tar.gz) = 5b7bb5ad10a2f0eb65ce6a199aa6f93574da133c783fe8a18a26a24ad68682744d1a22c3612efa77b51e296a39fbaefaed268800e30b8fa6d1d79a01eae202a4 -Size (pytest-3.4.0.tar.gz) = 812403 bytes +SHA1 (pytest-3.4.1.tar.gz) = b31c5a585722dbba54b000c98722daf1e2df9c5a +RMD160 (pytest-3.4.1.tar.gz) = 4d266daa28b634125b67c91ba9630a3926652586 +SHA512 (pytest-3.4.1.tar.gz) = 75f728840cde6512619a03ce75fd0b04cb9d57a99f381366a0f9c10ffa3210448e7e85505357bfa9bfb0cca11cdedda2c0e091e5473ed82707a2597f234e659a +Size (pytest-3.4.1.tar.gz) = 812928 bytes --_----------=_151929204925040--