failed NO_PATCH NO_PATCH UNSUBMITTED empty_patch(None) · None tool calls · 0 s · Textualize/rich
(not found in data/tasks.jsonl)
| # | Tool | Arguments | Result |
|---|---|---|---|
| No trace captured. | |||
...F
=================================== FAILURES ===================================
________________ test_inspect_builtin_function_except_python311 ________________
@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:153: AssertionError
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
1 failed, 3 passed in 0.17s