From: Terry Jan Reedy Date: Sat, 4 Jun 2016 06:32:18 +0000 (-0400) Subject: IDLE test README: 'gui' to 'GUI', except in "'gui'" and '-ugui'. X-Git-Tag: v3.5.2rc1~64 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1aa06e15256af2b4c2cfe41bfdcd0e1349f5b1d4;p=thirdparty%2FPython%2Fcpython.git IDLE test README: 'gui' to 'GUI', except in "'gui'" and '-ugui'. --- diff --git a/Lib/idlelib/idle_test/README.txt b/Lib/idlelib/idle_test/README.txt index 01b31f696b74..dc7a28697c19 100644 --- a/Lib/idlelib/idle_test/README.txt +++ b/Lib/idlelib/idle_test/README.txt @@ -56,7 +56,7 @@ requires('gui') To guard a test class, put "requires('gui')" in its setUpClass function. -To avoid interfering with other gui tests, all gui objects must be destroyed and +To avoid interfering with other GUI tests, all GUI objects must be destroyed and deleted by the end of the test. The Tk root created in a setUpX function should be destroyed in the corresponding tearDownX and the module or class attribute deleted. Others widgets should descend from the single root and the attributes @@ -116,7 +116,7 @@ file, which is appropriate when developing tests. The 'exit=False' option is needed in xyx.py files when an htest follows. The following command lines also run all test methods, including -gui tests, in test_xyz.py. (Both '-m idlelib' and '-m idlelib.idle' +GUI tests, in test_xyz.py. (Both '-m idlelib' and '-m idlelib.idle' start Idle and so cannot run tests.) python -m idlelib.xyz