diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-07-18 12:25:34 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-07-20 19:08:57 -0700 |
| commit | cd765ff58afa465b994778ff787fc152ebc0aa5c (patch) | |
| tree | 8caf9d136874c4250e72345eb27d1c1fc00fdbb1 /meta-python/recipes-devtools/python/python3-mock_5.1.0.bb | |
| parent | 7e3491b2d87b8e8d9a582252789d96c7f89e90bb (diff) | |
| download | meta-openembedded-cd765ff58afa465b994778ff787fc152ebc0aa5c.tar.gz | |
python3-mock: upgrade 5.0.2 -> 5.1.0
Changelog:
===========
-bpo-44185: :func:'unittest.mock.mock_open' will call the :func:'close' method
of the file handle mock when it is exiting from the context manager.
-gh-94924: :func:'unittest.mock.create_autospec' now properly returns coroutine
functions compatible with :func:'inspect.iscoroutinefunction'
-bpo-17013: Add ThreadingMock to :mod:'unittest.mock' that can be used to create
Mock objects that can wait until they are called.
-bpo-41768: :mod:'unittest.mock' speccing no longer calls class properties.
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.1.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-mock_5.1.0.bb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-mock_5.1.0.bb b/meta-python/recipes-devtools/python/python3-mock_5.1.0.bb new file mode 100644 index 0000000000..d9ecb9d4c8 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-mock_5.1.0.bb | |||
| @@ -0,0 +1,19 @@ | |||
| 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} += " \ | ||
| 10 | python3-cmd2 \ | ||
| 11 | python3-mccabe \ | ||
| 12 | python3-pep8 \ | ||
| 13 | python3-prettytable \ | ||
| 14 | python3-pyflakes \ | ||
| 15 | python3-pyparsing \ | ||
| 16 | python3-unittest \ | ||
| 17 | " | ||
| 18 | |||
| 19 | SRC_URI[sha256sum] = "5e96aad5ccda4718e0a229ed94b2024df75cc2d55575ba5762d31f5767b8767d" | ||
