Public bug reported:

python-testtools 2.7.2-5 FTBFS in Resolute

https://people.canonical.com/~ginggs/ftbfs-report/test-
rebuild-20251215-resolute-resolute.html


=================================== FAILURES ===================================
________________ test_inspect_builtin_function_except_python311 ________________

    @skip_py313
    @skip_py312
    @skip_py311
    @skip_pypy3
    def test_inspect_builtin_function_except_python311():
        # Pre-3.11 Python versions - print builtin has no signature available
        expected = (
            "╭────────── <built-in function print> ───────────╮\n"
            "│ def print(...)                                 │\n"
            "│                                                │\n"
            "│ print(value, ..., sep=' ', end='\\n',           │\n"
            "│ file=sys.stdout, flush=False)                  │\n"
            "│                                                │\n"
            "│ 29 attribute(s) not shown. Run                 │\n"
            "│ inspect(inspect) for options.                  │\n"
            "╰────────────────────────────────────────────────╯\n"
        )
>       assert render(print) == expected
E       AssertionError: assert '╭────────── ...──────────╯\n' == '╭────────── 
...──────────╯\n'
E         
E         Skipping 53 identical leading characters in diff, use -v to show
E         - def print(...)                                 │
E         + def print(*args, sep=' ', end='\n', file=None, │
E         + │ flush=False):                                  │
E           │                                                │
E         - │ print(value, ..., sep=' ', end='\n',           │...
E         
E         ...Full output truncated (10 lines hidden), use '-vv' to show

tests/test_inspect.py:159: AssertionError

** Affects: rich (Ubuntu)
     Importance: Undecided
     Assignee: Graham Inggs (ginggs)
         Status: Fix Committed

** Affects: rich (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: ftbfs update-excuse

** Bug watch added: Debian Bug tracker #1123335
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123335

** Also affects: rich (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123335
   Importance: Unknown
       Status: Unknown

** Changed in: rich (Ubuntu)
     Assignee: (unassigned) => Graham Inggs (ginggs)

** Changed in: rich (Ubuntu)
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2138233

Title:
  rich: FTBFS in Resolute

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rich/+bug/2138233/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to