diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-04-24 11:24:34 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-04-23 21:55:52 -0700 |
| commit | c916e99b50bda52de798e9d0ca98695b2812dd1d (patch) | |
| tree | accadd2e9e2ae70a83080ba54bcb40863fae3bc1 /meta-python/recipes-devtools/python/python3-mock_5.0.2.bb | |
| parent | 2ba38675910c5a6753ee4d9771091e7857d62660 (diff) | |
| download | meta-openembedded-c916e99b50bda52de798e9d0ca98695b2812dd1d.tar.gz | |
python3-mock: upgrade 5.0.1 -> 5.0.2
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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-mock_5.0.2.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-mock_5.0.2.bb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-mock_5.0.2.bb b/meta-python/recipes-devtools/python/python3-mock_5.0.2.bb new file mode 100644 index 0000000000..633b6f2776 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-mock_5.0.2.bb | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | DESCRIPTION = "A Python Mocking and Patching Library for Testing" | ||
| 2 | HOMEPAGE = "https://pypi.python.org/pypi/mock" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=de9dfbf780446b18aab11f00baaf5b7e" | ||
| 6 | |||
| 7 | inherit pypi setuptools3 | ||
| 8 | |||
| 9 | RDEPENDS:${PN} += "${PYTHON_PN}-prettytable \ | ||
| 10 | ${PYTHON_PN}-cmd2 \ | ||
| 11 | ${PYTHON_PN}-pyparsing \ | ||
| 12 | ${PYTHON_PN}-mccabe \ | ||
| 13 | ${PYTHON_PN}-pep8 \ | ||
| 14 | ${PYTHON_PN}-pyflakes" | ||
| 15 | |||
| 16 | SRC_URI[sha256sum] = "06f18d7d65b44428202b145a9a36e99c2ee00d1eb992df0caf881d4664377891" | ||
