https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/pytest-mock-3.10.0 fails tests (DASH-SYSTEM). Discovered on: amd64 (internal ref: dash_tinderbox) NOTE: (DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
Created attachment 844871 [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: E ModuleNotFoundError: No module named 'py.code'; 'py' is not a package FAILED tests/test_pytest_mock.py::test_monkeypatch_ini - AssertionError SKIPPED [1] tests/test_pytest_mock.py:722: could not import 'mock': No module named 'mock' tests/test_pytest_mock.py::test_standalone_mock SKIPPED (could not import 'mock': No module named 'mock') [60/78]
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7133a4442c67b7db964b81bd94e2058561dd8d9 commit a7133a4442c67b7db964b81bd94e2058561dd8d9 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2022-12-25 16:21:18 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2022-12-25 16:21:18 +0000 dev-python/pytest-mock: Remove obsolete py.code import Closes: https://bugs.gentoo.org/888215 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/pytest-mock/pytest-mock-3.10.0.ebuild | 6 ++++++ 1 file changed, 6 insertions(+)