Author ncoghlan
Recipients Rosuav, ebarry, ethan.furman, georg.brandl, ncoghlan, xiang.zhang
Date 2016-07-24.14:35:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469370911.38.0.63120300667.issue26823@psf.upfronthosting.co.za>
In-reply-to
Content
Since you're ultimately comparing a list of lines, it may be useful to split the checks into two parts:

1. Check the deterministic lines
2. Check the variable line (which should always be at index -2 in the splitlines() result)

For the recursion error, we're not too worried about the *exact* repetition count, we're mostly interested in checking that it abbreviated the traceback. Once you've pulled that line out of the main "Are they the same?" comparison, you can use a regex (or just string operations) to extract the repetition count, convert it to an integer and check that it gives the right answer to within (say) +/- 50 repetitions.
History
Date User Action Args
2016-07-24 14:35:11ncoghlansetrecipients: + ncoghlan, georg.brandl, ethan.furman, Rosuav, xiang.zhang, ebarry
2016-07-24 14:35:11ncoghlansetmessageid: <1469370911.38.0.63120300667.issue26823@psf.upfronthosting.co.za>
2016-07-24 14:35:11ncoghlanlinkissue26823 messages
2016-07-24 14:35:11ncoghlancreate