SymPy does not use a testing framework like unittest or nose, which print out the values of the actual and expected values if a test fails. With plain asserts, all you get is a stack trace to the line number. So putting all of the values in a container object and then iterating over it would mean that the user would no know which test was failing. Also, for such simple code, I think it is actually more clear (readable) to put one assert per line as I have done.