I have a problem using assertListEqual()
in Python's unittest
module.
When I do self.assertListEqual(expected, result)
it compares items correctly. But when there is a little difference, then I get a diff. And in that diff, besides items which definitely differ, I get many lines like:
The question is: How could I get rid of that, to see only elements, which realy differ?
Aucun commentaire:
Enregistrer un commentaire