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 Apr 25 06:57:01 UTC 2018

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 pkgsrc/devel/py-test/Makefile
cvs rdiff -u -r1.43 -r1.44 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.46 pkgsrc/devel/py-test/Makefile:1.47
--- pkgsrc/devel/py-test/Makefile:1.46  Fri Mar 23 08:58:00 2018
+++ pkgsrc/devel/py-test/Makefile       Wed Apr 25 06:57:01 2018
@@ -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/}

Index: pkgsrc/devel/py-test/distinfo
diff -u pkgsrc/devel/py-test/distinfo:1.43 pkgsrc/devel/py-test/distinfo:1.44
--- pkgsrc/devel/py-test/distinfo:1.43  Fri Mar 23 08:58:00 2018
+++ pkgsrc/devel/py-test/distinfo       Wed Apr 25 06:57:01 2018
@@ -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