This question gives the order assertEqual(expected, actual)
, albeit for the unittest package.
But Pycharm, with pytest, prints out "Expected:..." and "Actual..." based on the order actual==expected
.
This is confusing. What is the correct ordering for pytest? The source code and online documentation do not say.
(I note also that JUnit and TestNG disagree on this.)