diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2023-01-17 15:24:20 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-01-17 01:05:53 -0800 |
commit | 7b86dc79c0f43025104a619af937ddf7133a298b (patch) | |
tree | 589899d082227ef5ec00bf64d08340c1aa511f42 /meta-python/recipes-devtools/python/python3-configobj/0001-Switch-from-using-distutils-to-setuptools.patch | |
parent | fd3c0d2fb503c57ee04e7dc2bf5348c9a8b1b278 (diff) | |
download | meta-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/python3-configobj/0001-Switch-from-using-distutils-to-setuptools.patch')
0 files changed, 0 insertions, 0 deletions