We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0935e5 commit 8f21dadCopy full SHA for 8f21dad
1 file changed
pythonwhat/checks/check_logic.py
@@ -111,7 +111,7 @@
111
str(fail.__doc__)
112
+ """
113
:Example:
114
-
+
115
As a trivial SCT example, ::
116
117
Ex().check_for_loop().check_body().fail()
@@ -150,7 +150,7 @@ def override(state, solution):
150
new_ast = node
151
break
152
153
- kwargs = state.feedback_context.kwargs
+ kwargs = state.feedback_context.kwargs if state.feedback_context else {}
154
child = state.to_child(
155
solution_ast=new_ast,
156
student_ast=state.student_ast,
0 commit comments