summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-01-23 12:48:19 -0800
committerKhem Raj <raj.khem@gmail.com>2024-01-27 09:48:30 -0800
commit51392e0d1438be2923f72f7adb911d91619bb6cf (patch)
tree99cda489424f3140b02fac6bfbe2f7c73274c601 /meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb
parent855b4182a5c13d77b9d87e4e94135cbb6842c509 (diff)
downloadmeta-openembedded-51392e0d1438be2923f72f7adb911d91619bb6cf.tar.gz
python3-pytest-mock: Fix ptest failures with python 3.12
Fixes following regressions seen with python 3.12 upgrade AssertionError: Failed ptests: {'python3-pytest-mock': ['tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_no_name', 'tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[None]', 'tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[]', 'tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[f]', 'tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[The_Castle_of_aaarrrrggh]']} Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb b/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb
index ac6f8e8313..bad3df11ae 100644
--- a/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pytest-mock_3.12.0.bb
@@ -9,12 +9,10 @@ SRC_URI = " \
9 git://github.com/pytest-dev/pytest-mock;branch=main;protocol=https \ 9 git://github.com/pytest-dev/pytest-mock;branch=main;protocol=https \
10 file://run-ptest \ 10 file://run-ptest \
11 file://0001-test_pytest_mock-skip-args-introspection-tests.patch \ 11 file://0001-test_pytest_mock-skip-args-introspection-tests.patch \
12 file://403.patch \
12" 13"
13
14SRCREV = "69adc6f76c1a7baf4e7a728da9eec38741d5783e" 14SRCREV = "69adc6f76c1a7baf4e7a728da9eec38741d5783e"
15 15
16SRC_URI[sha256sum] = "fbbdb085ef7c252a326fd8cdcac0aa3b1333d8811f131bdcc701002e1be7ed4f"
17
18inherit setuptools3 ptest 16inherit setuptools3 ptest
19 17
20DEPENDS += "${PYTHON_PN}-setuptools-scm-native" 18DEPENDS += "${PYTHON_PN}-setuptools-scm-native"