You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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),
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.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: