mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Merge with 3.5
This commit is contained in:
commit
2cf6ca787a
1 changed files with 2 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ requires('gui')
|
||||||
|
|
||||||
To guard a test class, put "requires('gui')" in its setUpClass function.
|
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
|
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
|
be destroyed in the corresponding tearDownX and the module or class attribute
|
||||||
deleted. Others widgets should descend from the single root and the attributes
|
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.
|
option is needed in xyx.py files when an htest follows.
|
||||||
|
|
||||||
The following command lines also run all test methods, including
|
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.)
|
start Idle and so cannot run tests.)
|
||||||
|
|
||||||
python -m idlelib.xyz
|
python -m idlelib.xyz
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue