https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/pytest-mock-3.12.0 fails tests. Discovered on: amd64 (internal ref: tinderbox_musl) System: MUSL-SYSTEM Info about the system: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Created attachment 883473 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[None] - AssertionError FAILED tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[The Castle of aaarrrrggh] - AssertionError FAILED tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[] - AssertionError FAILED tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[f] - AssertionError FAILED tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_no_name - AssertionError SKIPPED [1] tests/test_pytest_mock.py:820: could not import 'mock': No module named 'mock' import 'mock': No module named 'mock') [64/82]
Not just on MUSL. I get this on "regular" installation.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5be907debc59e876779de7a8915a687a5899cf0 commit d5be907debc59e876779de7a8915a687a5899cf0 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2024-02-03 15:00:07 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-02-03 15:01:46 +0000 dev-python/pytest-mock: Backport a test fix Closes: https://bugs.gentoo.org/923140 Signed-off-by: Michał Górny <mgorny@gentoo.org> .../files/pytest-mock-3.12.0-test.patch | 34 ++++++++++++++++++++++ dev-python/pytest-mock/pytest-mock-3.12.0.ebuild | 7 ++++- 2 files changed, 40 insertions(+), 1 deletion(-)