def test_show_custom_marker(self):
    'Test correct marker is shown with kwargs..'
    stop = 2
    it = list(tools.islice_with_ellipsis(self.it, stop, marker='new'))
    self.assertEqual(len(it), (stop + 1))
    self.assertEqual(it[:(- 1)], self.it[:stop])
    self.assertNotEqual(it[(- 1)], '…')
    self.assertEqual(it[(- 1)], 'new')
Test correct marker is shown with kwargs..
def test_show_custom_marker(self):
    
    stop = 2
    it = list(tools.islice_with_ellipsis(self.it, stop, marker='new'))
    self.assertEqual(len(it), (stop + 1))
    self.assertEqual(it[:(- 1)], self.it[:stop])
    self.assertNotEqual(it[(- 1)], '…')
    self.assertEqual(it[(- 1)], 'new')