Summary: | dev-python/scikit-build-core-0.4.6 fails tests | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/scikit-build/scikit-build-core/issues/405 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
2023-06-23 09:20:32 UTC
Created attachment 864441 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern: E AssertionError: assert 'hello world' == 'hello world' FAILED tests/test_logging.py::test_rich_print_forcecolor - AssertionError: as... SKIPPED [1] tests/test_fortran.py:17: could not import 'numpy': No module named 'numpy' SKIPPED [1] tests/test_program_search.py:17: could not import 'cmake': No module named 'cmake' SKIPPED [1] tests/test_program_search.py:26: could not import 'ninja': No module named 'ninja' tests/test_program_search.py::test_get_cmake_programs_cmake_module SKIPPED (could not import 'cmake': No module named 'cmake') [ 58/120] tests/test_program_search.py::test_get_ninja_programs_cmake_module SKIPPED (could not import 'ninja': No module named 'ninja') [ 59/120] Sigh, colours...
capsys = <_pytest.capture.CaptureFixture object at 0x7f81ac0a5480>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f81ac0a6020>
def test_rich_print_forcecolor(capsys, monkeypatch):
monkeypatch.setenv("FORCE_COLOR", "1")
rich_print("[red bold]hello[/bold] world", end="")
> assert capsys.readouterr().out == "\33[91m\33[1mhello\33[22m world\33[0m"
E AssertionError: assert 'hello world' == '\x1b[91m\x1b[1mhello\x1b[22m world\x1b[0m'
E - hello world
E + hello world
capsys = <_pytest.capture.CaptureFixture object at 0x7f81ac0a5480>
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f81ac0a6020>
|