[issue18189] IDLE Improvements: Unit test for Delegator.py

Terry J. Reedy report at bugs.python.org
Mon Jul 1 00:36:27 CEST 2013


Terry J. Reedy added the comment:

I asked on the core-mentorship list about pydev test philosophy. I got useful answers from Nick and Antoine that can be summarized as "We are pragmatic, not dogmatic." One may have to be a list member to read this link, but here it is.
http://mail.python.org/mailman/private/core-mentorship/2013-June/001855.html

I tried out multiple test methods, but decided that I preferred the continuous scenario in the patch that follows.

Because the code was written before the addition of sets, the private cache was a dict used as a set. I changed it to a set.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18189>
_______________________________________


More information about the Python-bugs-list mailing list