MCPcopy Create free account
hub / github.com/Pometry/Raphtory / expect_unify_error

Function expect_unify_error

python/test_utils/utils.py:250–255  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

248
249
250def 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
258def assert_in_all(haystack: str, needles):

Calls

no outgoing calls