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 4.2.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6e8909523f9e
branches:  trunk
changeset: 329657:6e8909523f9e
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Feb 13 15:40:53 2019 +0000

description:
py-test: updated to 4.2.1

pytest 4.2.1:

Bug Fixes
- The pytest_report_collectionfinish hook now is also called with --collect-only.
- Do not raise UsageError when an imported package has a pytest_plugins.py child module.
- Fix output capturing when using pdb++ with recursive debugging.
- Fix handling of collect_ignore via parent conftest.py.
- Fix regression where setUpClass would always be called in subclasses even if all tests
  were skipped by a unittest.skip() decorator applied in the subclass.
- Fix parametrize(... ids=<function>) when the function returns non-strings.
- Fix/improve collection of args when passing in __init__.py and a test file.
- more_itertools is now constrained to <6.0.0 when required for Python 2.7 compatibility.
- Fix "ValueError: Plugin already registered" exceptions when running in build directories that symlink to actual source.

Improved Documentation
- Add note to plugins.rst that pytest_plugins should not be used as a name for a user module containing plugins.
- Document how to use raises and does_not_raise to write parametrized tests with conditional raises.
- Document how to customize test failure messages when using
  pytest.warns.

Trivial/Internal Changes
- Some verbosity related attributes of the TerminalReporter plugin are now
  read only properties.

diffstat:

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

diffs (27 lines):

diff -r 1c60f7e1a5f2 -r 6e8909523f9e devel/py-test/Makefile
--- a/devel/py-test/Makefile    Wed Feb 13 15:21:06 2019 +0000
+++ b/devel/py-test/Makefile    Wed Feb 13 15:40:53 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.72 2019/02/03 11:07:39 leot Exp $
+# $NetBSD: Makefile,v 1.73 2019/02/13 15:40:53 adam Exp $
 
-DISTNAME=      pytest-4.2.0
+DISTNAME=      pytest-4.2.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest/}
diff -r 1c60f7e1a5f2 -r 6e8909523f9e devel/py-test/distinfo
--- a/devel/py-test/distinfo    Wed Feb 13 15:21:06 2019 +0000
+++ b/devel/py-test/distinfo    Wed Feb 13 15:40:53 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.65 2019/02/01 11:52:22 adam Exp $
+$NetBSD: distinfo,v 1.66 2019/02/13 15:40:53 adam Exp $
 
-SHA1 (pytest-4.2.0.tar.gz) = 3a9c4e38d3d76c4aa482413788ec33324b12bf88
-RMD160 (pytest-4.2.0.tar.gz) = dc578229a4c2a9639ac4b42897cd015e6598ecc1
-SHA512 (pytest-4.2.0.tar.gz) = 71d77b391a096877597ca5130e5433fd8e41ec764f79acbb9aadd7abe782089067ae025ebf41df379ed8dd0f48d590db64607478e6f3c240fa8a2c91f96c5a95
-Size (pytest-4.2.0.tar.gz) = 909527 bytes
+SHA1 (pytest-4.2.1.tar.gz) = d7a60f850c80e4fc283813658f151523c4b1f602
+RMD160 (pytest-4.2.1.tar.gz) = a1fe5f92dfa2898abda421c84d0501c5925f37ba
+SHA512 (pytest-4.2.1.tar.gz) = e41bf7c685cacd62261df6d356911297a65ba85e13a50f8aed23d382d257c4c1cd3213971a3970fec210b8e97b72bd0034c0c1f87be7f306286d541c5ea57097
+Size (pytest-4.2.1.tar.gz) = 913065 bytes



Home | Main Index | Thread Index | Old Index