This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Rarity
Recipients Rarity, ezio.melotti, iritkatriel, jack__d, michael.foord, rbcollins
Date 2021-08-04.16:34:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1628094846.13.0.638973274023.issue44819@roundup.psfhosted.org>
In-reply-to
Content
I've attached an example of what I want. It contains a class, a function to be tested, and a test class which tests the function.

What TestCase.addTypeEqualityFunc feels like it offers is a chance to compare objects however I feel like is needed for each test. Sometimes all I want is to compare the properties of the objects, and maybe not even all of the properties! When I have a list of these objects and I've added an equality function for the object, I was expecting the test class to use my equality function when comparing objects in the list.
History
Date User Action Args
2021-08-04 16:34:06Raritysetrecipients: + Rarity, rbcollins, ezio.melotti, michael.foord, iritkatriel, jack__d
2021-08-04 16:34:06Raritysetmessageid: <1628094846.13.0.638973274023.issue44819@roundup.psfhosted.org>
2021-08-04 16:34:06Raritylinkissue44819 messages
2021-08-04 16:34:06Raritycreate