Terry J. Reedy added the comment:

Although the text is aimed at people writing tests, I agree with starting with 
a new short section "0. Running all Idle tests".  The sentence already there is 
specific to automated unittests.  There is also a separate human-mediated test 
system run with "python -m idlelib.idle_test.htest" (more below).  This command 
should be added in this section.

Retesting, "python -m test.test_idle" on the command line no longer works for 
me on installed 3.4.3, Win7.  Instead I get

c:\Programs\Python34\python.exe: Error while finding spec for 'test.test_idle' 
(<class 'AttributeError'>: 'module' object has no attribute '__path__')

Did you get this or is does my install have a problem?  Running test_idle.py 
from the Idle editor works fine.  ">python -m test -v test_idle" fails with no 
output.

Onward: I do not want to indent code because I want people, including myself, 
to be able to cut and paste.  Some of the other edits look good at first 
glance.  I may have questions on some.

Something needs to be added to README about human-mediated tests, beyond the 
bottom-line summary in section 0.  There is a page long docstring in htest.py.  
I am not sure how much to move to or duplicate in README (after further 
editing).  Any opinion, as a naive reader?

----------
assignee:  -> terry.reedy
nosy: +terry.reedy
stage:  -> patch review
versions: +Python 2.7, Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23964>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to