We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f21dad commit 4aa4a1aCopy full SHA for 4aa4a1a
pythonwhat/checks/has_funcs.py
@@ -41,12 +41,13 @@ def verify(part, index):
41
if part is None:
42
raise KeyError
43
44
- # Chceck if it's there in the solution
45
- err_msg = "SCT fails on solution: " + msg
+ # TODO: instructor error if msg is not str
+ # Check if it's there in the solution
46
try:
47
verify(state.solution_parts[name], index)
48
except (KeyError, IndexError):
49
with debugger(state):
50
+ err_msg = "SCT fails on solution: {}".format(msg)
51
state.report(err_msg, d)
52
53
0 commit comments