summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2019-01-22 18:49:52 (GMT)
committerGitHub <noreply@github.com>2019-01-22 18:49:52 (GMT)
commit28f6cb34f602b9796987904a607dceaf2e4a9e78 (patch)
tree82f000e6147a550cd4b803c19ffada03c5978a86 /Lib/idlelib/idle_test
parentbf4ac2d2fd520c61306b2676db488adab9b5d8c5 (diff)
downloadcpython-28f6cb34f602b9796987904a607dceaf2e4a9e78.zip
cpython-28f6cb34f602b9796987904a607dceaf2e4a9e78.tar.gz
cpython-28f6cb34f602b9796987904a607dceaf2e4a9e78.tar.bz2
bpo-35683: Improve Azure Pipelines steps (GH-11493)
Diffstat (limited to 'Lib/idlelib/idle_test')
-rw-r--r--Lib/idlelib/idle_test/test_help_about.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/idle_test/test_help_about.py b/Lib/idlelib/idle_test/test_help_about.py
index 5839b5d..7c148d2 100644
--- a/Lib/idlelib/idle_test/test_help_about.py
+++ b/Lib/idlelib/idle_test/test_help_about.py
@@ -61,6 +61,8 @@ class LiveDialogTest(unittest.TestCase):
button.invoke()
get = dialog._current_textview.viewframe.textframe.text.get
lines = printer._Printer__lines
+ if len(lines) < 2:
+ self.fail(name + ' full text was not found')
self.assertEqual(lines[0], get('1.0', '1.end'))
self.assertEqual(lines[1], get('2.0', '2.end'))
dialog._current_textview.destroy()