def test_show_marker_with_start_stop(self):
    'Test marker is shown with start and stop without kwargs.'
    start = 1
    stop = 3
    it = list(tools.islice_with_ellipsis(self.it, start, stop))
    self.assertEqual(len(it), ((stop - start) + 1))
    self.assertEqual(it[:(- 1)], self.it[start:stop])
    self.assertEqual(it[(- 1)], '…')
Test marker is shown with start and stop without kwargs.
def test_show_marker_with_start_stop(self):
    
    start = 1
    stop = 3
    it = list(tools.islice_with_ellipsis(self.it, start, stop))
    self.assertEqual(len(it), ((stop - start) + 1))
    self.assertEqual(it[:(- 1)], self.it[start:stop])
    self.assertEqual(it[(- 1)], '…')