homepage

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 python-dev, terry.reedy, zach.ware
Date 2016年08月11日.04:07:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1470888441.11.0.59605227754.issue27732@psf.upfronthosting.co.za>
In-reply-to
Content
Bell-using files patched (module and test)
autoexpand, parenmatch, replace, search, undo
Bell-using files not patched (no test yet) 
debugger, editor, grep, history, pyshell, scrolled_list, zoomheight
A second bonus is that the dummy bell function, instead of lambda: None, can be a mock used to test that bell() was called when it should be (or even not). This was already true for test_undo, except that the mock wrapped rather than replaced the real bell function. I opened spinoff #27733 to extend this idea.
To make this possible, I gave the class instances a self.bell function that was replaced by the test code afterwards. I am leaving this issue open to give the other bell-using classes a similar attribute in preparation for future tests.
History
Date User Action Args
2016年08月11日 04:07:21terry.reedysetrecipients: + terry.reedy, python-dev, zach.ware
2016年08月11日 04:07:21terry.reedysetmessageid: <1470888441.11.0.59605227754.issue27732@psf.upfronthosting.co.za>
2016年08月11日 04:07:21terry.reedylinkissue27732 messages
2016年08月11日 04:07:20terry.reedycreate

AltStyle によって変換されたページ (->オリジナル) /