mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

Upgrade to release 4.0.3: - Remove unexpected call of __bool__ when passing a spec_arg argument to a Mock. - Revert bpo-25597. unittest.mock.MagicMock with wraps’ set uses default return values for magic methods. - Mock objects which are not unsafe will now raise an AttributeError if an attribute with the prefix asert, aseert, or assrt is accessed, in addition to this already happening for the prefixes assert or assret. - Fixed reverting multiple patches in unittest.mock. Patcher’s __exit__() is now never called if its __enter__() is failed. Returning true from __exit__() silences now the exception. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 lines
570 B
BlitzBasic
17 lines
570 B
BlitzBasic
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} += "${PYTHON_PN}-prettytable \
|
|
${PYTHON_PN}-cmd2 \
|
|
${PYTHON_PN}-pyparsing \
|
|
${PYTHON_PN}-mccabe \
|
|
${PYTHON_PN}-pep8 \
|
|
${PYTHON_PN}-pyflakes"
|
|
|
|
SRC_URI[sha256sum] = "7d3fbbde18228f4ff2f1f119a45cdffa458b4c0dee32eb4d2bb2f82554bac7bc"
|