def test_str(self): l = sequences.ChainedLists(list(range(3)), list(range(3, 5))) assert str(l) == '[ [0, 1, 2], [3, 4] ]'
def test_str(self): l = sequences.ChainedLists(range(3), range(3, 5)) self.assertEqual(str(l), '[ [0, 1, 2], [3, 4] ]')
def gen_cl(): return sequences.ChainedLists(list(range(3)), list(range(3, 6)), list(range(6, 100)))
def gen_cl(): return sequences.ChainedLists(range(3), range(3, 6), range(6, 100))