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_rule_in_unexpanded_table[expand_kwarg0] _________________
expand_kwarg = {}
@pytest.mark.parametrize("expand_kwarg", ({}, {"expand": False}))
def test_rule_in_unexpanded_table(expand_kwarg):
console = Console(width=32, file=io.StringIO(), legacy_windows=False, _environ={})
table = Table(box=box.ASCII, show_header=False, **expand_kwarg)
table.add_column()
table.add_column()
table.add_row("COL1", "COL2")
table.add_row("COL1", Rule())
table.add_row("COL1", "COL2")
console.print(table)
expected = dedent(
"""\
+-------------+
| COL1 | COL2 |
| COL1 | ──── |
| COL1 | COL2 |
+-------------+
"""
)
result = console.file.getvalue()
> assert result == expected
E AssertionError: assert '+-----------...----------+\n' == '+-----------...----------+\n'
E
E - +-------------+
E - | COL1 | COL2 |
E - | COL1 | ──── |
E - | COL1 | COL2 |
E - +-------------+
E + +------------------------------+...
E
E ...Full output truncated (4 lines hidden), use '-vv' to show
tests/test_rule_in_table.py:32: AssertionError
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
1 failed in 0.10s