MCPcopy
hub / github.com/marimo-team/marimo / _assert_success

Function _assert_success

tests/_cli/test_cli_export.py:110–114  ·  view source on GitHub ↗
(r: Result)

Source from the content-addressed store, hash-verified

108
109
110def _assert_success(r: Result) -> None:
111 # Re-raise unexpected exceptions so failures are clearly surfaced
112 if r.exception and not isinstance(r.exception, SystemExit):
113 raise r.exception
114 assert r.exit_code == 0, r.output
115
116
117def _assert_failure(r: Result) -> None:

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…