MCPcopy Create free account
hub / github.com/datacamp/pythonwhat / test_has_printout_on_root

Function test_has_printout_on_root

tests/test_author_warnings.py:153–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151
152
153def test_has_printout_on_root():
154 code = "print(1)"
155 s = setup_state(code, code)
156 has_printout = v2_check_functions["has_printout"]
157 s.check_or(has_printout(0), has_printout(0))
158
159
160def test_has_printout_not_on_root():

Callers

nothing calls this directly

Calls 2

setup_stateFunction · 0.90
has_printoutFunction · 0.85

Tested by

no test coverage detected