summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/htest.py
diff options
context:
space:
mode:
authorTal Einat <taleinat+github@gmail.com>2019-07-27 16:57:48 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2019-07-27 16:57:48 (GMT)
commit3221a63c69268a9362802371a616f49d522a5c4f (patch)
treeb3718e53ebd9a5838bae04f967ba1504e29eb311 /Lib/idlelib/idle_test/htest.py
parent1ed915e8ae3cc59ad8f7a8eaccb94f27f19b10a6 (diff)
downloadcpython-3221a63c69268a9362802371a616f49d522a5c4f.zip
cpython-3221a63c69268a9362802371a616f49d522a5c4f.tar.gz
cpython-3221a63c69268a9362802371a616f49d522a5c4f.tar.bz2
bpo-37628: Fix IDLE config sample sizes (#14958)
The boxes for the font and highlight samples are now constrained by the overall config dialog size. They gain scrollbars when the when a large font size makes the samples too large for the box.
Diffstat (limited to 'Lib/idlelib/idle_test/htest.py')
-rw-r--r--Lib/idlelib/idle_test/htest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/idle_test/htest.py b/Lib/idlelib/idle_test/htest.py
index f2f37e1..6990af5 100644
--- a/Lib/idlelib/idle_test/htest.py
+++ b/Lib/idlelib/idle_test/htest.py
@@ -349,7 +349,7 @@ _undo_delegator_spec = {
ViewWindow_spec = {
'file': 'textview',
'kwds': {'title': 'Test textview',
- 'text': 'The quick brown fox jumps over the lazy dog.\n'*35,
+ 'contents': 'The quick brown fox jumps over the lazy dog.\n'*35,
'_htest': True},
'msg': "Test for read-only property of text.\n"
"Select text, scroll window, close"