aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/core/testcase.py
diff options
context:
space:
mode:
authorVincent Danno <vincent.danno@orange.com>2021-05-10 09:28:36 +0200
committerVincent Danno <vincent.danno@orange.com>2021-05-10 09:28:36 +0200
commit92eb358358a3cb4a70daa8bbe6e53a1ff44c9d17 (patch)
treefbdd179b9d2e1a9b410534fcea417f1203ca23de /xtesting/core/testcase.py
parent81576fd969217d38f2ccc26434ea286bb704df94 (diff)
Remove unnecessary condition in statement flow
First, the condition should be limited to only defining the default value, rather than applying to the statement flow. This not only avoids unnecessary repetition of statements, but is more logical. Second, it is not even necessary to explicitly code a condition here, because the language itself defaults to our desired default value. Signed-off-by: Vincent Danno <vincent.danno@orange.com> Change-Id: I119567f5b31444a0e864ba41dee8a5f640ff0c22
Diffstat (limited to 'xtesting/core/testcase.py')
0 files changed, 0 insertions, 0 deletions