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_guess_lexer_yaml_j2 ___________________________
def test_guess_lexer_yaml_j2():
# https://github.com/Textualize/rich/issues/2018
code = """\
foobar:
something: {{ raiser() }}
else: {{ 5 + 5 }}
"""
> assert Traceback._guess_lexer("test.yaml.j2", code) == "text"
E AssertionError: assert 'YAML+Jinja' == 'text'
E
E - text
E + YAML+Jinja
tests/test_traceback.py:247: AssertionError
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
1 failed, 14 passed in 0.58s