Skip to content

Commit 78b0f57

Browse files
author
Sylvain MARIE
committed
Merge remote-tracking branch 'origin/master'
2 parents ad8fc2d + b0c3864 commit 78b0f57

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/usage/advanced.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)