(self)
| 110 | self.assertEqual(list(slice), self.matches * 3) |
| 111 | |
| 112 | def test_current(self): |
| 113 | with self.assertRaises(ValueError): |
| 114 | self.matches_iterator.current() |
| 115 | next(self.matches_iterator) |
| 116 | self.assertEqual(self.matches_iterator.current(), self.matches[0]) |
| 117 | |
| 118 | def test_update(self): |
| 119 | slice = islice(self.matches_iterator, 0, 3) |