aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2021-01-11 17:25:12 +0200
committerKhem Raj <raj.khem@gmail.com>2021-01-12 09:16:44 -0800
commitfad349f0091f4553884b24ff7514352f904dead7 (patch)
treea8685fb2bc2ddde479e56da6eb339c63dcac2754
parentf03a3313c350885044efdfd20bddd6af0cb1b2ef (diff)
downloadmeta-openembedded-contrib-fad349f0091f4553884b24ff7514352f904dead7.tar.gz
python3-mock: Upgrade 4.0.2 -> 4.0.3
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>
-rw-r--r--meta-python/recipes-devtools/python/python3-mock_4.0.3.bb (renamed from meta-python/recipes-devtools/python/python3-mock_4.0.2.bb)3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-mock_4.0.2.bb b/meta-python/recipes-devtools/python/python3-mock_4.0.3.bb
index 39ab6d01f5..b34f25b93d 100644
--- a/meta-python/recipes-devtools/python/python3-mock_4.0.2.bb
+++ b/meta-python/recipes-devtools/python/python3-mock_4.0.3.bb
@@ -13,5 +13,4 @@ RDEPENDS_${PN} += "${PYTHON_PN}-prettytable \
${PYTHON_PN}-pep8 \
${PYTHON_PN}-pyflakes"
-SRC_URI[md5sum] = "6466619b89c2969dc57722ad73f85676"
-SRC_URI[sha256sum] = "dd33eb70232b6118298d516bbcecd26704689c386594f0f3c4f13867b2c56f72"
+SRC_URI[sha256sum] = "7d3fbbde18228f4ff2f1f119a45cdffa458b4c0dee32eb4d2bb2f82554bac7bc"