mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
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>
This commit is contained in:
@@ -9,12 +9,10 @@ SRC_URI = " \
|
||||
git://github.com/pytest-dev/pytest-mock;branch=main;protocol=https \
|
||||
file://run-ptest \
|
||||
file://0001-test_pytest_mock-skip-args-introspection-tests.patch \
|
||||
file://403.patch \
|
||||
"
|
||||
|
||||
SRCREV = "69adc6f76c1a7baf4e7a728da9eec38741d5783e"
|
||||
|
||||
SRC_URI[sha256sum] = "fbbdb085ef7c252a326fd8cdcac0aa3b1333d8811f131bdcc701002e1be7ed4f"
|
||||
|
||||
inherit setuptools3 ptest
|
||||
|
||||
DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
|
||||
|
||||
Reference in New Issue
Block a user