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 terry.reedy
Recipients benjamin.peterson, eric.araujo, gvanrossum, rhettinger, stutzbach, terry.reedy
Date 2010-09-03.19:32:23
SpamBayes Score 8.054285e-05
Marked as misclassified No
Message-id <1283542347.22.0.00800174301085.issue9731@psf.upfronthosting.co.za>
In-reply-to
Content
Good idea!

I see Raymond's point about the name. How about .method_check?
To me Sequence.method_check(range) means "Abstract Seqeunce class, please method-check the concrete range class."

If Sequence.register(range) is in the range source file, I would expect to find the test of the range class in test_range.

If all collection registrations were bundled together in collections.py, I think I would expect the tests to be in test_collections. But I could still be presuaded that the range method check should be in test_range where all the individual methods are (should be!) tested.
History
Date User Action Args
2010-09-03 19:32:27terry.reedysetrecipients: + terry.reedy, gvanrossum, rhettinger, benjamin.peterson, stutzbach, eric.araujo
2010-09-03 19:32:27terry.reedysetmessageid: <1283542347.22.0.00800174301085.issue9731@psf.upfronthosting.co.za>
2010-09-03 19:32:23terry.reedylinkissue9731 messages
2010-09-03 19:32:23terry.reedycreate