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

Function test_pec_parsing_error

tests/test_state.py:7–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5
6
7def test_pec_parsing_error():
8 with pytest.raises(InstructorError):
9 State(
10 student_code="parses",
11 solution_code="parses",
12 pre_exercise_code="does not parse",
13 student_process=None,
14 solution_process=None,
15 reporter=Reporter(),
16 raw_student_output=None,
17 )

Callers

nothing calls this directly

Calls 1

StateClass · 0.90

Tested by

no test coverage detected