Author r.david.murray
Recipients bethard, ezio.melotti, georg.brandl, louielu, r.david.murray, serhiy.storchaka, vstinner, wolma
Date 2017-04-20.14:56:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Well, part of the point of the tests is to make sure the module's behavior doesn't change when doing the conversion to argparse.  But "behavior changing" doesn't extend to the exact format of the output...that can change, as long as what the module *does* given specific cli argument combinations stays the same.  Ideally, you write the tests so that it is not sensitive to the exact output, but realistically some tests may need to be different between the optparse case and the argparse case to get good coverage.

Note that even with good tests, you can still miss behavior changes.  We tried to do a good job on the tests for compileall, for example, and we still introduced a bug or two when we converted to argparse.
Date User Action Args
2017-04-20 14:56:42r.david.murraysetrecipients: + r.david.murray, georg.brandl, bethard, vstinner, ezio.melotti, serhiy.storchaka, wolma, louielu
2017-04-20 14:56:42r.david.murraysetmessageid: <>
2017-04-20 14:56:42r.david.murraylinkissue18971 messages
2017-04-20 14:56:42r.david.murraycreate