(fn)
| 248 | |
| 249 | |
| 250 | def expect_unify_error(fn): |
| 251 | with pytest.raises(BaseException) as e: |
| 252 | # check the message |
| 253 | fn() |
| 254 | print(e.value) |
| 255 | assert "Failed to unify props" in str(e.value) |
| 256 | |
| 257 | |
| 258 | def assert_in_all(haystack: str, needles): |
no outgoing calls