summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-01-17 15:24:20 +0800
committerKhem Raj <raj.khem@gmail.com>2023-01-17 01:05:53 -0800
commit7b86dc79c0f43025104a619af937ddf7133a298b (patch)
tree589899d082227ef5ec00bf64d08340c1aa511f42 /meta-python/recipes-devtools/python
parentfd3c0d2fb503c57ee04e7dc2bf5348c9a8b1b278 (diff)
downloadmeta-openembedded-7b86dc79c0f43025104a619af937ddf7133a298b.tar.gz
python3-mock: upgrade 5.0.0 -> 5.0.1
Changelog: ========== - gh-100740: Fix unittest.mock.Mock not respecting the spec for attribute names prefixed with assert. - gh-100690: Mock objects which are not unsafe will now raise an AttributeError when accessing an attribute that matches the name of an assertion but without the prefix assert_, e.g. accessing called_once instead of assert_called_once. This is in addition to this already happening for accessing attributes with prefixes assert, assret, asert, aseert, and assrt. - gh-96127: inspect.signature was raising TypeError on call with mock objects. Now it correctly returns (*args, **kwargs) as infered signature. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-mock_5.0.1.bb (renamed from meta-python/recipes-devtools/python/python3-mock_5.0.0.bb)2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-mock_5.0.0.bb b/meta-python/recipes-devtools/python/python3-mock_5.0.1.bb
index dcc57c22b4..b916a7b4e7 100644
--- a/meta-python/recipes-devtools/python/python3-mock_5.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-mock_5.0.1.bb
@@ -13,4 +13,4 @@ RDEPENDS:${PN} += "${PYTHON_PN}-prettytable \
13 ${PYTHON_PN}-pep8 \ 13 ${PYTHON_PN}-pep8 \
14 ${PYTHON_PN}-pyflakes" 14 ${PYTHON_PN}-pyflakes"
15 15
16SRC_URI[sha256sum] = "fd552787228eb2ab8352f270470fa93c9ad8b9cbc565c5558ee3faed8edb3853" 16SRC_URI[sha256sum] = "e3ea505c03babf7977fd21674a69ad328053d414f05e6433c30d8fa14a534a6b"