<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-python/recipes-devtools/python/python3-mock_5.0.1.bb, branch scarthgap</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=scarthgap</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=scarthgap'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2023-04-24T04:55:52+00:00</updated>
<entry>
<title>python3-mock: upgrade 5.0.1 -&gt; 5.0.2</title>
<updated>2023-04-24T04:55:52+00:00</updated>
<author>
<name>Wang Mingyu</name>
<email>wangmy@fujitsu.com</email>
</author>
<published>2023-04-24T03:24:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=c916e99b50bda52de798e9d0ca98695b2812dd1d'/>
<id>urn:sha1:c916e99b50bda52de798e9d0ca98695b2812dd1d</id>
<content type='text'>
Changelog:
==========
 gh-102978: Fixes :func:'unittest.mock.patch' not enforcing function signatures for methods decorated with @classmethod or @staticmethod when patch is called with autospec=True.
 gh-103329: Regression tests for the behaviour of unittest.mock.PropertyMock were added.

Signed-off-by: Wang Mingyu &lt;wangmy@fujitsu.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>python3-mock: upgrade 5.0.0 -&gt; 5.0.1</title>
<updated>2023-01-17T09:05:53+00:00</updated>
<author>
<name>Wang Mingyu</name>
<email>wangmy@fujitsu.com</email>
</author>
<published>2023-01-17T07:24:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=7b86dc79c0f43025104a619af937ddf7133a298b'/>
<id>urn:sha1:7b86dc79c0f43025104a619af937ddf7133a298b</id>
<content type='text'>
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 &lt;wangmy@fujitsu.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
