summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/idle_test')
-rw-r--r--Lib/idlelib/idle_test/test_idlehistory.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/idle_test/test_idlehistory.py b/Lib/idlelib/idle_test/test_idlehistory.py
index c48529d..b27db91 100644
--- a/Lib/idlelib/idle_test/test_idlehistory.py
+++ b/Lib/idlelib/idle_test/test_idlehistory.py
@@ -87,6 +87,7 @@ class FetchTest(unittest.TestCase):
# The last two are diagnostic of fetch internals.
History = self.history
History.fetch(reverse)
+
Equal = self.assertEqual
Equal(self.text.get('iomark', 'end-1c'), line)
Equal(self.text._bell, bell)
@@ -94,6 +95,7 @@ class FetchTest(unittest.TestCase):
self.text._bell = False
Equal(History.prefix, prefix)
Equal(History.pointer, index)
+ Equal(self.text.compare("insert", '==', "end-1c"), 1)
def test_fetch_prev_cyclic(self):
prefix = ''