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 3.5.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/28c1debd549f
branches:  trunk
changeset: 379162:28c1debd549f
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Apr 25 06:57:01 2018 +0000

description:
py-test: updated to 3.5.1

Pytest 3.5.1:
Bug Fixes
Reset sys.last_type, sys.last_value and sys.last_traceback before each test executes. Those attributes are added by pytest during the test run to aid debugging, but were never reset so they would 
create a leaking reference to the last failing test?s frame which in turn could never be reclaimed by the garbage collector.
pytest.raises now raises TypeError when receiving an unknown keyword argument.
pytest.raises now works with exception classes that look like iterables.

Improved Documentation
Fix typo in caplog fixture documentation, which incorrectly identified certain attributes as methods.

Trivial/Internal Changes
Added a more indicative error message when parametrizing a function whose argument takes a default value.
Remove internal _pytest.terminal.flatten function in favor of more_itertools.collapse.
Import some modules from collections.abc instead of collections as the former modules trigger DeprecationWarning in Python 3.7.
record_property is no longer experimental, removing the warnings was forgotten.
Mention in documentation and CLI help that fixtures with leading _ are printed by pytest --fixtures only if the -v option is added.

diffstat:

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

diffs (27 lines):

diff -r da4834ff79ab -r 28c1debd549f devel/py-test/Makefile
--- a/devel/py-test/Makefile    Wed Apr 25 06:00:37 2018 +0000
+++ b/devel/py-test/Makefile    Wed Apr 25 06:57:01 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.46 2018/03/23 08:58:00 adam Exp $
+# $NetBSD: Makefile,v 1.47 2018/04/25 06:57:01 adam Exp $
 
-DISTNAME=      pytest-3.5.0
+DISTNAME=      pytest-3.5.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest/}
diff -r da4834ff79ab -r 28c1debd549f devel/py-test/distinfo
--- a/devel/py-test/distinfo    Wed Apr 25 06:00:37 2018 +0000
+++ b/devel/py-test/distinfo    Wed Apr 25 06:57:01 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.43 2018/03/23 08:58:00 adam Exp $
+$NetBSD: distinfo,v 1.44 2018/04/25 06:57:01 adam Exp $
 
-SHA1 (pytest-3.5.0.tar.gz) = ebb431b74c018005d9298af34660c3f186235ccc
-RMD160 (pytest-3.5.0.tar.gz) = ccf66ab8ba7125e7c565af48a8e4b6cd812470d7
-SHA512 (pytest-3.5.0.tar.gz) = 031997650592a5c5697981c517082a8de0f585b63e9fcba57903163c0e87ab6a4206f93038ecc130530422547bfc0e03f765c8f260e52e51f2f9e0cb26ceeaa8
-Size (pytest-3.5.0.tar.gz) = 830816 bytes
+SHA1 (pytest-3.5.1.tar.gz) = cc186a60c28c035350e42aac3434d9fe0c5ca2b9
+RMD160 (pytest-3.5.1.tar.gz) = 8a41afd4c1c05838829d8d80728fd4c7d68a99b1
+SHA512 (pytest-3.5.1.tar.gz) = 5f54251b197b4bebadb06536054b4f79e16c5cec2cdfd7d95fd74548b8ecfaddaafeb635eb90d085fe4d4bea1108f951fe500d0e548cc8b797b0d23e0c2693a0
+Size (pytest-3.5.1.tar.gz) = 830571 bytes



Home | Main Index | Thread Index | Old Index