pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-test



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.

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



Home | Main Index | Thread Index | Old Index