pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-test-mock
Module Name: pkgsrc
Committed By: adam
Date: Mon Oct 19 12:19:22 UTC 2026
Modified Files:
pkgsrc/devel/py-test-mock: Makefile distinfo
Log Message:
py-test-mock: updated to 3.17.0
3.17.0
* Failures of mock assertions such as ``assert_called_with`` are again reported only once, instead of two or three times with the original error from the ``mock`` module chained before them.
* Mock assertion failures no longer show misleading introspection when they are not about the arguments of the last call: ``assert_called``, ``assert_called_once``, ``assert_not_called``,
``assert_any_call``, their ``await`` counterparts, and ``assert_called_once_with``/``assert_awaited_once_with`` when the mock was not called (awaited) exactly once. The introspection also no longer
reports arguments passed by position versus by keyword as different for autospecced mocks, and no longer shows empty ``Args:``/``Kwargs:`` sections when assertion rewriting is not available.
* ``assert_has_calls`` and ``assert_has_awaits`` failures no longer show pytest introspection, which compared the expected and actual calls position by position and so reported differences between
unrelated calls. The mock's own message, listing the expected and actual calls, is still shown.
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/devel/py-test-mock/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/py-test-mock/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-mock/Makefile
diff -u pkgsrc/devel/py-test-mock/Makefile:1.36 pkgsrc/devel/py-test-mock/Makefile:1.37
--- pkgsrc/devel/py-test-mock/Makefile:1.36 Wed Oct 7 10:33:20 2026
+++ pkgsrc/devel/py-test-mock/Makefile Mon Oct 19 12:19:21 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2026/10/07 10:33:20 adam Exp $
+# $NetBSD: Makefile,v 1.37 2026/10/19 12:19:21 adam Exp $
-DISTNAME= pytest_mock-3.16.0
+DISTNAME= pytest_mock-3.17.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pytest_/test-/}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-mock/}
Index: pkgsrc/devel/py-test-mock/distinfo
diff -u pkgsrc/devel/py-test-mock/distinfo:1.31 pkgsrc/devel/py-test-mock/distinfo:1.32
--- pkgsrc/devel/py-test-mock/distinfo:1.31 Wed Oct 7 10:33:20 2026
+++ pkgsrc/devel/py-test-mock/distinfo Mon Oct 19 12:19:21 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.31 2026/10/07 10:33:20 adam Exp $
+$NetBSD: distinfo,v 1.32 2026/10/19 12:19:21 adam Exp $
-BLAKE2s (pytest_mock-3.16.0.tar.gz) = 84dfc7920860fdc30f088e8fe90e84d4ee428d97a600b63078b9525c8a94353a
-SHA512 (pytest_mock-3.16.0.tar.gz) = fbaa1ee9d4d4d12a28aa62e09f22ddd6eada041faddcadd58291dbb9c2e5d24143fe2c74516f0444ed61786ee6b3a6e3f0969188e792ffbab8fa05b7d28bd86f
-Size (pytest_mock-3.16.0.tar.gz) = 35362 bytes
+BLAKE2s (pytest_mock-3.17.0.tar.gz) = 82a1f2f3bfa555304602e5741e6807210769091da07e55db9b381364297b076f
+SHA512 (pytest_mock-3.17.0.tar.gz) = e9948a8086ced8366f3de291950258b145e78977dc1e873147d9045e2676ad0bd40a7362c2f2cf2a5c7583d9a5668c09d49c971427d85d8cf0ad4a8a3985c873
+Size (pytest_mock-3.17.0.tar.gz) = 43064 bytes
Home |
Main Index |
Thread Index |
Old Index