mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-22 06:41:30 +00:00
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>
570 B
570 B