From: Terry Jan Reedy Date: Sat, 4 Jun 2016 03:58:37 +0000 (-0400) Subject: Merge issue #27196 from 3.5: Stop IDLE test 'application destroyed' warnings. X-Git-Tag: v3.6.0a2~151 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a493e9dc4f83e7e2a67dc38b7d2b886a6ee8960;p=thirdparty%2FPython%2Fcpython.git Merge issue #27196 from 3.5: Stop IDLE test 'application destroyed' warnings. --- 5a493e9dc4f83e7e2a67dc38b7d2b886a6ee8960 diff --cc Lib/idlelib/idle_test/test_configdialog.py index 31884329858c,4b413e22ee07..e4e1a319f7a8 --- a/Lib/idlelib/idle_test/test_configdialog.py +++ b/Lib/idlelib/idle_test/test_configdialog.py @@@ -1,7 -1,7 +1,6 @@@ - '''Unittests for idlelib/config.py -'''Test idlelib.configHandler. ++'''Test idlelib.configdialog. -Coverage: 46% just by creating dialog. -The other half is code for working with user customizations. +Coverage: 46% just by creating dialog. The other half is change code. - ''' import unittest from test.support import requires diff --cc Lib/idlelib/idle_test/test_parenmatch.py index 794a3aa1acd9,95cc22cf68c4..d467a9a97a41 --- a/Lib/idlelib/idle_test/test_parenmatch.py +++ b/Lib/idlelib/idle_test/test_parenmatch.py @@@ -1,6 -1,8 +1,8 @@@ - """Test idlelib.parenmatch.""" - # This must currently be a gui test because ParenMatch methods use - # several text methods not defined on idlelib.idle_test.mock_tk.Text. -'''Test idlelib.ParenMatch. ++'''Test idlelib.parenmatch. + + This must currently be a gui test because ParenMatch methods use + several text methods not defined on idlelib.idle_test.mock_tk.Text. + ''' from test.support import requires requires('gui') diff --cc Lib/idlelib/idle_test/test_redirector.py index df2b6184c42f,c68dfcc41241..c8dd1184c4a5 --- a/Lib/idlelib/idle_test/test_redirector.py +++ b/Lib/idlelib/idle_test/test_redirector.py @@@ -1,7 -1,7 +1,7 @@@ - """Unittest for idlelib.redirector -'''Test idlelib.WidgetRedirector. ++'''Test idlelib.redirector. 100% coverage - """ + ''' from test.support import requires import unittest from idlelib.idle_test.mock_idle import Func diff --cc Lib/idlelib/idle_test/test_textview.py index 084928f3a619,02d1472240ee..4c70ebb90517 --- a/Lib/idlelib/idle_test/test_textview.py +++ b/Lib/idlelib/idle_test/test_textview.py @@@ -1,4 -1,4 +1,4 @@@ - '''Test the functions and main class method of textview.py. -'''Test idlelib.textView. ++'''Test idlelib.textview. Since all methods and functions create (or destroy) a TextViewer, which is a widget containing multiple widgets, all tests must be gui tests.