File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -86,14 +86,15 @@ async def inner(turns):
86
86
assert (
87
87
prev [graph .make_computation_node (sink )] == expectation
88
88
), f"actual={ prev [graph .make_computation_node (sink )]} \n expected: { expectation } "
89
- else :
90
- def inner (turns ):
91
- prev = {}
92
- for turn , expectation in turns :
93
- prev = f (prev , turn )
94
- assert (
95
- prev [graph .make_computation_node (sink )] == expectation
96
- ), f"actual={ prev [graph .make_computation_node (sink )]} \n expected: { expectation } "
89
+ return inner
90
+
91
+ def inner (turns ):
92
+ prev = {}
93
+ for turn , expectation in turns :
94
+ prev = f (prev , turn )
95
+ assert (
96
+ prev [graph .make_computation_node (sink )] == expectation
97
+ ), f"actual={ prev [graph .make_computation_node (sink )]} \n expected: { expectation } "
97
98
98
99
return inner
99
100
You can’t perform that action at this time.
0 commit comments