We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46dfa6b commit c46f15dCopy full SHA for c46f15d
1 file changed
pythonwhat/check_syntax.py
@@ -85,8 +85,8 @@ def _from_func(cls, f):
85
func_chain._stack.append(f)
86
return func_chain
87
88
-def Ex():
89
- return Chain(State.root_state)
+def Ex(state = None):
+ return Chain(state or State.root_state)
90
91
# Prepare SCTs that may be chained attributes ----------------------
92
# decorate functions that may try to run test_* function nodes as subtests
0 commit comments