summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_help_about.py
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2019-01-22 20:31:30 (GMT)
committerGitHub <noreply@github.com>2019-01-22 20:31:30 (GMT)
commit128efcade63480b5860a6d045a41ba4abf5eea2f (patch)
treefc995aa8061eb4a2e426f84985284bfe6092052a /Lib/idlelib/idle_test/test_help_about.py
parentf71e7433ebccb2e3a2665b93bb84de38f9c581c8 (diff)
downloadcpython-128efcade63480b5860a6d045a41ba4abf5eea2f.zip
cpython-128efcade63480b5860a6d045a41ba4abf5eea2f.tar.gz
cpython-128efcade63480b5860a6d045a41ba4abf5eea2f.tar.bz2
bpo-35683: Improve Azure Pipelines steps (GH-11493)
Diffstat (limited to 'Lib/idlelib/idle_test/test_help_about.py')
-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()