diff options
author | adam <adam@pkgsrc.org> | 2018-11-05 08:36:25 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-11-05 08:36:25 +0000 |
commit | a20ea32fd071f4c7a2845d2673f25cc1681ce42e (patch) | |
tree | 2c0a2066adc040ae0cfb54753d94022e69f3ecc1 /devel/py-test | |
parent | 7245bf7aaa02ef79e5618ce64e53032da27f0e77 (diff) | |
download | pkgsrc-a20ea32fd071f4c7a2845d2673f25cc1681ce42e.tar.gz |
py-test: updated to 3.10.0
pytest 3.10.0:
Features
* Resume capturing output after continue with __import__("pdb").set_trace().
This also adds a new pytest_leave_pdb hook, and passes in pdb to the existing pytest_enter_pdb hook.
* Add -sw, --stepwise as an alternative to --lf -x for stopping at the first failure, but starting the next test invocation from that test. See the documentation for more info.
* Make --color emit colorful dots when not running in verbose mode. Earlier, it would only colorize the test-by-test output if --verbose was also passed.
* Improve performance with collection reporting in non-quiet mode with terminals.
The “collecting …” message is only printed/updated every 0.5s.
Bug Fixes
* Fix false RemovedInPytest4Warning: usage of Session... is deprecated, please use pytest warnings.
* Fix problems with running tests in package __init__.py files.
* Swallow warnings during anonymous compilation of source.
* Fix access denied error when deleting stale directories created by tmpdir / tmp_path.
* Naming a fixture request will now raise a warning: the request fixture is internal and should not be overwritten as it will lead to internal errors.
* Handle (ignore) exceptions raised during collection, e.g. with Django’s LazySettings proxy class.
Improved Documentation
* Added missing documentation about the fact that module names passed to filter warnings are not regex-escaped.
Trivial/Internal Changes
* Display cachedir also in non-verbose mode if non-default.
* pdb: improve message about output capturing with set_trace.
Do not display “IO-capturing turned off/on” when -s is used to avoid confusion.
* Improve message and stack level of warnings issued by monkeypatch.setenv when the value of the environment variable is not a str.
Diffstat (limited to 'devel/py-test')
-rw-r--r-- | devel/py-test/Makefile | 4 | ||||
-rw-r--r-- | devel/py-test/PLIST | 5 | ||||
-rw-r--r-- | devel/py-test/distinfo | 10 |
3 files changed, 11 insertions, 8 deletions
diff --git a/devel/py-test/Makefile b/devel/py-test/Makefile index cced22acb98..32b6ae72b9a 100644 --- a/devel/py-test/Makefile +++ b/devel/py-test/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.63 2018/10/29 08:25:08 adam Exp $ +# $NetBSD: Makefile,v 1.64 2018/11/05 08:36:25 adam Exp $ -DISTNAME= pytest-3.9.3 +DISTNAME= pytest-3.10.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest/} diff --git a/devel/py-test/PLIST b/devel/py-test/PLIST index d501aa3bc39..b5b0a2e29bb 100644 --- a/devel/py-test/PLIST +++ b/devel/py-test/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.14 2018/10/18 10:11:25 adam Exp $ +@comment $NetBSD: PLIST,v 1.15 2018/11/05 08:36:25 adam Exp $ bin/py.test-${PYVERSSUFFIX} bin/pytest-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO @@ -152,6 +152,9 @@ ${PYSITELIB}/_pytest/setupplan.pyo ${PYSITELIB}/_pytest/skipping.py ${PYSITELIB}/_pytest/skipping.pyc ${PYSITELIB}/_pytest/skipping.pyo +${PYSITELIB}/_pytest/stepwise.py +${PYSITELIB}/_pytest/stepwise.pyc +${PYSITELIB}/_pytest/stepwise.pyo ${PYSITELIB}/_pytest/terminal.py ${PYSITELIB}/_pytest/terminal.pyc ${PYSITELIB}/_pytest/terminal.pyo diff --git a/devel/py-test/distinfo b/devel/py-test/distinfo index c6f253702df..7d9af63d19c 100644 --- a/devel/py-test/distinfo +++ b/devel/py-test/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.58 2018/10/29 08:25:08 adam Exp $ +$NetBSD: distinfo,v 1.59 2018/11/05 08:36:25 adam Exp $ -SHA1 (pytest-3.9.3.tar.gz) = a2724bb22ac54f2cf0afd669bf84c05013cc2039 -RMD160 (pytest-3.9.3.tar.gz) = a7c72e2b152519b5a4444df0dcda231301876b6b -SHA512 (pytest-3.9.3.tar.gz) = 03ab708ebff936dc296d8c42c549789db42916ac8d4a1df817aebdcdfcb1d0c45126e6238f958eb1523938db6529baa282a9f2ff5742295b2113873abe07ef83 -Size (pytest-3.9.3.tar.gz) = 882503 bytes +SHA1 (pytest-3.10.0.tar.gz) = 96af359d03f01d0dc8ff42b3ed733279760f00c8 +RMD160 (pytest-3.10.0.tar.gz) = 2d1c0e64e4ec649ac8b6edc102c27609ca76424e +SHA512 (pytest-3.10.0.tar.gz) = 454686cdaaed56e75524fadce5f672b620210fc987b157ebd912d2c01e362412ffe535ec2467b60863db33817542b9b41a2a5442558ce69cd38b2a846e4ed8d6 +Size (pytest-3.10.0.tar.gz) = 890744 bytes |