File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -316,9 +316,9 @@ def case_simple(step_name: str) -> CaseData:
316316 ins = dict(a=1, b=2)
317317
318318 # adapt the expected output to the current step
319- if step_name is ' step_check_a' :
319+ if step_name == ' step_check_a' :
320320 outs = 2, 3
321- elif step_name is ' step_check_b' :
321+ elif step_name == ' step_check_b' :
322322 outs = 5, 4
323323
324324 return ins, outs, None
@@ -328,9 +328,9 @@ def case_simple2(step_name: str) -> CaseData:
328328 ins = dict(a=-1, b=2)
329329
330330 # adapt the expected output to the current step
331- if step_name is ' step_check_a' :
331+ if step_name == ' step_check_a' :
332332 outs = 0, 3
333- elif step_name is ' step_check_b' :
333+ elif step_name == ' step_check_b' :
334334 outs = 1, 4
335335
336336 return ins, outs, None
@@ -377,9 +377,9 @@ def case_simple(step_name: str) -> CaseData:
377377 ins = input_for_case_simple ()
378378
379379 # adapt the expected output to the current step
380- if step_name is ' step_check_a' :
380+ if step_name == ' step_check_a' :
381381 outs = 2, 3
382- elif step_name is ' step_check_b' :
382+ elif step_name == ' step_check_b' :
383383 outs = 5, 4
384384
385385 return ins, outs, None
You can’t perform that action at this time.
0 commit comments