Author terry.reedy
Recipients Todd.Rovito, philwebster, terry.reedy
Date 2013-07-05.06:49:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373006946.99.0.696971871982.issue18365@psf.upfronthosting.co.za>
In-reply-to
Content
test_rstrip2.patch contain a Text class to be added to mock_tk.py. The purpose of a mock class is to imitate another class with respect to certain behaviors. The way to verify that is does that is to run the same set of tests for those behaviors with both. This is similar in idea and will be the same in execution as running the same set of tests with a Python-coded module and a c-coded accelerator version of at least some functions of the module. The trick is to do this without code duplication is write a mixin class with the tests and derive two testcase classes using the mixin.
History
Date User Action Args
2013-07-05 06:49:07terry.reedysetrecipients: + terry.reedy, Todd.Rovito, philwebster
2013-07-05 06:49:06terry.reedysetmessageid: <1373006946.99.0.696971871982.issue18365@psf.upfronthosting.co.za>
2013-07-05 06:49:06terry.reedylinkissue18365 messages
2013-07-05 06:49:06terry.reedycreate