pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-test py-test: updated to 3.4.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a5b45e05fadf
branches:  trunk
changeset: 375820:a5b45e05fadf
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Feb 22 09:34:09 2018 +0000

description:
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.

diffstat:

 devel/py-test/Makefile |   4 ++--
 devel/py-test/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r eb1740d3738e -r a5b45e05fadf devel/py-test/Makefile
--- a/devel/py-test/Makefile    Thu Feb 22 09:24:16 2018 +0000
+++ b/devel/py-test/Makefile    Thu Feb 22 09:34:09 2018 +0000
@@ -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/}
diff -r eb1740d3738e -r a5b45e05fadf devel/py-test/distinfo
--- a/devel/py-test/distinfo    Thu Feb 22 09:24:16 2018 +0000
+++ b/devel/py-test/distinfo    Thu Feb 22 09:34:09 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index