mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-19 23:28:38 +00:00
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>
This commit is contained in:
19
meta-python/recipes-devtools/python/python3-mock_5.1.0.bb
Normal file
19
meta-python/recipes-devtools/python/python3-mock_5.1.0.bb
Normal file
@@ -0,0 +1,19 @@
|
||||
DESCRIPTION = "A Python Mocking and Patching Library for Testing"
|
||||
HOMEPAGE = "https://pypi.python.org/pypi/mock"
|
||||
SECTION = "devel/python"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=de9dfbf780446b18aab11f00baaf5b7e"
|
||||
|
||||
inherit pypi setuptools3
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
python3-cmd2 \
|
||||
python3-mccabe \
|
||||
python3-pep8 \
|
||||
python3-prettytable \
|
||||
python3-pyflakes \
|
||||
python3-pyparsing \
|
||||
python3-unittest \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "5e96aad5ccda4718e0a229ed94b2024df75cc2d55575ba5762d31f5767b8767d"
|
||||
Reference in New Issue
Block a user