MCPcopy Index your code
hub / github.com/python/mypy / assert_no_errors

Function assert_no_errors

mypyc/test/test_ircheck.py:39–40  ·  view source on GitHub ↗
(fn: FuncIR)

Source from the content-addressed store, hash-verified

37
38
39def assert_no_errors(fn: FuncIR) -> None:
40 assert not check_func_ir(fn)
41
42
43NONE_VALUE = Integer(0, rtype=none_rprimitive)

Callers 3

test_valid_fnMethod · 0.85
test_valid_gotoMethod · 0.85

Calls 1

check_func_irFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…