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 wolma
Recipients wolma
Date 2014-09-25.12:27:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1411648064.39.0.863179207441.issue22495@psf.upfronthosting.co.za>
In-reply-to
Content
test_binop.py says that it tests binary operators on subtypes of built-in types, but in fact largely focuses on testing its own class Rat, which simply inherits from object and is, essentially, just a simple implementation of fractions.Fraction.

Instead of doing mostly redundant tests here and there it might be better to merge this part (up to line 305) of test_binop.py into test_fractions.py, then maybe add tests of subtypes of built-in types other than just object to test_binop.py.

This requires quite a bit of work though for a relatively minor improvement so do you think it's worth the effort ?
History
Date User Action Args
2014-09-25 12:27:44wolmasetrecipients: + wolma
2014-09-25 12:27:44wolmasetmessageid: <1411648064.39.0.863179207441.issue22495@psf.upfronthosting.co.za>
2014-09-25 12:27:44wolmalinkissue22495 messages
2014-09-25 12:27:44wolmacreate