Issue #18732: Remove unused* parameter output_sep from IdleHistory.History

and paired splits and joins that do nothing when output_sep is its default \n.
*It in unused in that the class in only instantiated once, with the default.
Make a few other changes in .fetch and its test.
This commit is contained in:
Terry Jan Reedy 2013-08-15 16:19:13 -04:00
parent c2564f9329
commit 29c3fc5d8f
2 changed files with 10 additions and 22 deletions

View file

@ -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 = ''