[issue21676] IDLE - Test Replace Dialog

2016-05-17 Thread Terry J. Reedy

Terry J. Reedy added the comment:

The 'Theme changed' message is maddening.  I verified that is was not occurring 
without this patch.  I made sure all widgets were passed cls.root as master, 
and that all were delected.  Running the class with "def test_dummy(self): 
pass" and all other methods commented out did not result in the message.  So 
setup and teardown do not, in themselves, cause it.  Running the first test, 
test_simple up to the point where a replace function is caused did not trigger 
the message.  Running most any replace funcition does trigger.  The base dialog 
and search tests do not trigger, so merely creating an engine did not.  One new 
thing in replace test is tests using REs.

Anyway, pushed slightly modified files.  I am no longer backporting 'routine' 
patches to 2.7.

--
assignee:  -> terry.reedy
resolution:  -> fixed
stage:  -> resolved
status: open -> closed
type:  -> enhancement
versions: +Python 3.6 -Python 2.7, Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21676] IDLE - Test Replace Dialog

2016-05-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset d8ed90a35505 by Terry Jan Reedy in branch '3.5':
Issue #21676: test IDLE replace dialog.  Original patch by Saimadhav Heblikar.
https://hg.python.org/cpython/rev/d8ed90a35505

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21676] IDLE - Test Replace Dialog

2014-06-06 Thread Saimadhav Heblikar

New submission from Saimadhav Heblikar:

Add unittest for idlelib's replace dialog.
7 lines related to replacedialog logic could not be tested. Any input on how to 
test those lines?

Running the test suite for idlelib emits:
ttk::ThemeChanged
invalid command name 3069198412callit
while executing
3069198412callit
(after script)
invalid command name 3051229868callit
while executing
3051229868callit
(after script), 

though the tests pass. 


If this is fine, will post a 2.7 backport.

--
components: IDLE
files: test-replace-34.diff
keywords: patch
messages: 219863
nosy: jesstess, sahutd, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE - Test Replace Dialog
versions: Python 2.7, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file35493/test-replace-34.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21676
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com