summaryrefslogtreecommitdiff
path: root/devel/py-test
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-10-03 09:58:11 +0000
committeradam <adam@pkgsrc.org>2018-10-03 09:58:11 +0000
commit0d2ec5d03598178eb6062fdea1dfd23f3e6ad9d2 (patch)
tree9cdeaebaa48113f39f5b75d257b7785a90c8f618 /devel/py-test
parent5424ff895a9cb99edafea93399103e451749d47c (diff)
downloadpkgsrc-0d2ec5d03598178eb6062fdea1dfd23f3e6ad9d2.tar.gz
py-test: updated to 3.8.2
pytest 3.8.2: Deprecations and Removals * The item parameter of pytest_warning_captured hook is now documented as deprecated. We realized only after the 3.8 release that this parameter is incompatible with pytest-xdist. Our policy is to not deprecate features during bugfix releases, but in this case we believe it makes sense as we are only documenting it as deprecated, without issuing warnings which might potentially break test suites. This will get the word out that hook implementers should not use this parameter at all. In a future release item will always be None and will emit a proper warning when a hook implementation makes use of it. Bug Fixes * Fix reload on assertion rewritten modules. * The .user_properties attribute of TestReport objects is a list of (name, value) tuples, but could sometimes be instantiated as a tuple of tuples. It is now always a list. * No longer issue warnings about using pytest_plugins in non-top-level directories when using --pyargs: the current --pyargs mechanism is not reliable and might give false negatives. * Exclude empty reports for passed tests when -rP option is used. * Improve error message when an invalid Python expression is passed to the -m option. * MonkeyPatch.setenv and MonkeyPatch.delenv issue a warning if the environment variable name is not str on Python 2. In Python 2, adding unicode keys to os.environ causes problems with subprocess (and possible other modules), making this a subtle bug specially susceptible when used with from __future__ import unicode_literals. Improved Documentation * Add possible values for fixture scope to docs.
Diffstat (limited to 'devel/py-test')
-rw-r--r--devel/py-test/Makefile4
-rw-r--r--devel/py-test/distinfo10
2 files changed, 7 insertions, 7 deletions
diff --git a/devel/py-test/Makefile b/devel/py-test/Makefile
index 3f916a93942..1ed155a59f4 100644
--- a/devel/py-test/Makefile
+++ b/devel/py-test/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.59 2018/09/24 08:06:29 adam Exp $
+# $NetBSD: Makefile,v 1.60 2018/10/03 09:58:11 adam Exp $
-DISTNAME= pytest-3.8.1
+DISTNAME= pytest-3.8.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest/}
diff --git a/devel/py-test/distinfo b/devel/py-test/distinfo
index da6270c8bf2..976ef656f11 100644
--- a/devel/py-test/distinfo
+++ b/devel/py-test/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.54 2018/09/24 08:06:29 adam Exp $
+$NetBSD: distinfo,v 1.55 2018/10/03 09:58:11 adam Exp $
-SHA1 (pytest-3.8.1.tar.gz) = 1ed43faeb95684da2823ed89f866ec308dd8b77a
-RMD160 (pytest-3.8.1.tar.gz) = d754e739cfcb14fd12ddbd0217c629553cb87f40
-SHA512 (pytest-3.8.1.tar.gz) = 8d1b79f4c813f46109e8ca91e4e41ba5f2efe21905bfb94d39c195728d2f994da6a55773b77f3fee603c1d8e97d965a58b0ca3e5148d2dcf5462780c01f43480
-Size (pytest-3.8.1.tar.gz) = 867647 bytes
+SHA1 (pytest-3.8.2.tar.gz) = 6e28889174cfec8ca42bd470fe6168ca19aa58f9
+RMD160 (pytest-3.8.2.tar.gz) = 394d93f3186b92e10219ebd56a26c9420c4f0ff5
+SHA512 (pytest-3.8.2.tar.gz) = 5420de07ff741f64bcb7fce7bf3b5097cf63be2539c2e694c168bd824ba468ca87cb17be801b72b972ab417da98d1b5473f319afd642bf5c6c0270e3a697d016
+Size (pytest-3.8.2.tar.gz) = 869668 bytes