summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/htest.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-07-03 23:11:13 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2016-07-03 23:11:13 (GMT)
commit0cd6b977016a438303664427709dda95e73369c5 (patch)
tree5d97378274cdea2a510adac0dd774fdab85de7d3 /Lib/idlelib/idle_test/htest.py
parentbae75cf3fe975d21c0c20baa595d21ebeca54681 (diff)
downloadcpython-0cd6b977016a438303664427709dda95e73369c5.zip
cpython-0cd6b977016a438303664427709dda95e73369c5.tar.gz
cpython-0cd6b977016a438303664427709dda95e73369c5.tar.bz2
Issue 27437: Add query.ModuleName and use it for file => Load Module.
Users can now edit bad entries instead of starting over.
Diffstat (limited to 'Lib/idlelib/idle_test/htest.py')
-rw-r--r--Lib/idlelib/idle_test/htest.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/idlelib/idle_test/htest.py b/Lib/idlelib/idle_test/htest.py
index d809d30..71302d0 100644
--- a/Lib/idlelib/idle_test/htest.py
+++ b/Lib/idlelib/idle_test/htest.py
@@ -235,8 +235,9 @@ _percolator_spec = {
Query_spec = {
'file': 'query',
- 'kwds': {'title':'Query',
- 'message':'Enter something',
+ 'kwds': {'title': 'Query',
+ 'message': 'Enter something',
+ 'text0': 'Go',
'_htest': True},
'msg': "Enter with <Return> or [Ok]. Print valid entry to Shell\n"
"Blank line, after stripping, is ignored\n"