(self)
| 1069 | assert util.format_explanation(expl) == res |
| 1070 | |
| 1071 | def test_fmt_and(self) -> None: |
| 1072 | expl = "\n".join(["assert 1", "{1 = foo", "} == 2", "{2 = bar", "}"]) |
| 1073 | res = "\n".join(["assert 1 == 2", " + where 1 = foo", " + and 2 = bar"]) |
| 1074 | assert util.format_explanation(expl) == res |
| 1075 | |
| 1076 | def test_fmt_where_nested(self) -> None: |
| 1077 | expl = "\n".join(["assert 1", "{1 = foo", "{foo = bar", "}", "} == 2"]) |
nothing calls this directly
no outgoing calls
no test coverage detected