|
|
|
|
|
by karma_fountain
4632 days ago
|
|
Unless I'm missing something, assert scoreKeeper.Stats["Manning"]["Touchdowns"] == 1 is not the same unless in python you have some magic reflection. The output you get from that is just pass/fail. The output you get from the matcher method is the expected and actual values in a much nicer error message. |
|
http://pytest.org/latest/assert.html#advanced-assertion-intr...