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:           Wed Feb 13 15:40:53 UTC 2019

Modified Files:
        pkgsrc/devel/py-test: Makefile distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 pkgsrc/devel/py-test/Makefile
cvs rdiff -u -r1.65 -r1.66 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.72 pkgsrc/devel/py-test/Makefile:1.73
--- pkgsrc/devel/py-test/Makefile:1.72  Sun Feb  3 11:07:39 2019
+++ pkgsrc/devel/py-test/Makefile       Wed Feb 13 15:40:53 2019
@@ -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/}

Index: pkgsrc/devel/py-test/distinfo
diff -u pkgsrc/devel/py-test/distinfo:1.65 pkgsrc/devel/py-test/distinfo:1.66
--- pkgsrc/devel/py-test/distinfo:1.65  Fri Feb  1 11:52:22 2019
+++ pkgsrc/devel/py-test/distinfo       Wed Feb 13 15:40:53 2019
@@ -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