Summary: | dev-python/pytest-mock-3.10.0 fails tests (DASH-SYSTEM): ModuleNotFoundError: No module named py.code; py is not a package | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
![]() 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(+) |