pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-test Pytest 3.2.2:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c60ea665e4de
branches:  trunk
changeset: 367893:c60ea665e4de
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Sep 08 11:05:52 2017 +0000

description:
Pytest 3.2.2:

Bug Fixes
* Calling the deprecated request.getfuncargvalue() now shows the source of the call.
* Allow tests declared as @staticmethod to use fixtures.
* Fixed edge-case during collection: attributes which raised pytest.fail when accessed would abort the entire collection.
* Fix ReprFuncArgs with mixed unicode and UTF-8 args.

Improved Documentation
* In examples on working with custom markers, add examples demonstrating the usage of pytest.mark.MARKER_NAME.with_args in comparison with pytest.mark.MARKER_NAME.__call__
* In one of the simple examples, use pytest_collection_modifyitems() to skip tests based on a command-line option, allowing its sharing while preventing a user error when acessing pytest.config 
before the argument parsing.

Trivial/Internal Changes
* Fixed minor error in ?Good Practices/Manual Integration? code snippet.
* Fixed typo in goodpractices.rst.
* Improve user guidance regarding --resultlog deprecation.

diffstat:

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

diffs (27 lines):

diff -r 8e02aeedd2ab -r c60ea665e4de devel/py-test/Makefile
--- a/devel/py-test/Makefile    Fri Sep 08 11:03:28 2017 +0000
+++ b/devel/py-test/Makefile    Fri Sep 08 11:05:52 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.35 2017/08/13 09:48:54 adam Exp $
+# $NetBSD: Makefile,v 1.36 2017/09/08 11:05:52 adam Exp $
 
-DISTNAME=      pytest-3.2.1
+DISTNAME=      pytest-3.2.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest/}
diff -r 8e02aeedd2ab -r c60ea665e4de devel/py-test/distinfo
--- a/devel/py-test/distinfo    Fri Sep 08 11:03:28 2017 +0000
+++ b/devel/py-test/distinfo    Fri Sep 08 11:05:52 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.32 2017/08/13 09:48:54 adam Exp $
+$NetBSD: distinfo,v 1.33 2017/09/08 11:05:52 adam Exp $
 
-SHA1 (pytest-3.2.1.tar.gz) = ab87dcfd371e38a691448303da811bd3aa9d123e
-RMD160 (pytest-3.2.1.tar.gz) = b673cac4efb7a9163456b4c6579ee5ea40dca3d9
-SHA512 (pytest-3.2.1.tar.gz) = e32f82658219b44e5b235a8dfff94e58373f61e905d896fbfc67ddf5028f486e5e0a170b9a21a5917719746bad29878566066df66dd4e2f6a3365bd70f585967
-Size (pytest-3.2.1.tar.gz) = 784076 bytes
+SHA1 (pytest-3.2.2.tar.gz) = cea4f713dea6fe57aa224a19507bb755e4892d33
+RMD160 (pytest-3.2.2.tar.gz) = 21ce162286979f09371bb60d690c005552200b01
+SHA512 (pytest-3.2.2.tar.gz) = 6df3a50e7d1efeaf7a283920b16d1daf800798f422bc851b0aacd2bbd5cb0a88c95f9057fae49943b9dfe6527ed552cdf8d983b944ab91d0af252ee4f6eb82db
+Size (pytest-3.2.2.tar.gz) = 786396 bytes



Home | Main Index | Thread Index | Old Index