Closed pbodnar closed 1 year ago
It's easy and unified now (with no exceptions, right?! :)):
actual
expected
output
For curious ones, Python (as well as the rest of the world) is not consistent here: https://stackoverflow.com/questions/40945126/parameter-order-for-unittest-testcase-assertequal.
coverage: 91.086%. remained the same when pulling 1a718d5b8d0c3abcb7aa44dde8a2a38c28fcf72c on unify-tests-asserts-on-equal into faed4f3aeb18cd930d8b0d3b12417cbb7882cc91 on master.
@anderskaplan, this might be of an interest for you. :)
Looks good to me! 👍
It's easy and unified now (with no exceptions, right?! :)):
actual
always goes beforeexpected
.actual
is stored in a variableoutput
for us.expected
is defined after theoutput
variable.For curious ones, Python (as well as the rest of the world) is not consistent here: https://stackoverflow.com/questions/40945126/parameter-order-for-unittest-testcase-assertequal.