[issue21624] Idle: Improve htests

2017-07-05 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
Removed message: http://bugs.python.org/msg297740

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21624] Idle: Improve htests

2017-07-05 Thread STINNER Victor

STINNER Victor added the comment:


New changeset 8207c17486baece8ed0ac42d9f8d69ecec4ba7e4 by Victor Stinner in 
branch 'master':
Revert "bpo-30822: Fix testing of datetime module." (#2588)
https://github.com/python/cpython/commit/8207c17486baece8ed0ac42d9f8d69ecec4ba7e4


--
nosy: +haypo

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21624] Idle: Improve htests

2017-07-04 Thread Terry J. Reedy

Terry J. Reedy added the comment:


New changeset 1278d29000794085f1d9e25f2dadbf70b9076e30 by terryjreedy in branch 
'3.6':
[3.6] bpo-21624: IDLE -- minor htest fixes (GH-2575) (#2578)
https://github.com/python/cpython/commit/1278d29000794085f1d9e25f2dadbf70b9076e30


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21624] Idle: Improve htests

2017-07-04 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
pull_requests: +2648

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21624] Idle: Improve htests

2017-07-04 Thread Terry J. Reedy

Terry J. Reedy added the comment:


New changeset 2000150c569941584994ec4ec59171961209bec3 by terryjreedy in branch 
'master':
bpo-21624: IDLE -- minor htest fixes (#2575)
https://github.com/python/cpython/commit/2000150c569941584994ec4ec59171961209bec3


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21624] Idle: Improve htests

2017-07-04 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
pull_requests: +2645

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21624] Idle: Improve htests

2017-07-04 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Current htest issues from this and two other issues, notes, and running htests 
with htest.py.

(Default master window placement is ok.  Can move.)

h1. At least one test window overlaps the test window. Others are not centered 
(y-position). Fix by passing _htest and changing geometry accordingly.  Use 
f-strings.  Develop formula for centering?

(Test messages "might use editing" is too vague.  Ditto for EditorWindow 'might 
be split'.)

h2. All widgets should be displayed.  A couple of htests test behavior in 
widgets otherwise displayed, and *these* should be unittested if possible.

h3. Force focus to opened widget window.  Probably still needed.

h4. Putting imports only needed by htest functions in the function is a good 
idea.  Introducing a regression by mistake is not.  Do this when edit after 
thorough tests.

h5. # htest # is present on all current htest functions. Check that is 
documented, including .coveragerc entry.

h6. What is left from #22629 after patch applied?

h7. #27636: incapsulate common features in classes defined in htest.py.

3 Specific TODOs in htest.py:

h8. Improve message for dyn_option_menu.

h9. Improve wrapper for EditorWindow.

h10. Update GetKeysDialog test now that #21519 closed.

h11. My note: Get keys dialog prints blank line to console, something prints 
'None'. Check when run all tests.

h12. Test window should show version and module (from __file__).  Make part of 
#27636.

--
dependencies: +Idle: update htest.py and htests, Refactor IDLE htest
title: Idle: polish htests -> Idle: Improve htests

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com