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