MCPcopy Index your code
hub / github.com/python/cpython / test_free_after_iterating

Method test_free_after_iterating

Lib/test/test_iter.py:1140–1141  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1138 self.assertEqual(next(it), 1)
1139
1140 def test_free_after_iterating(self):
1141 check_free_after_iterating(self, iter, SequenceClass, (0,))
1142
1143 def test_error_iter(self):
1144 for typ in (DefaultIterClass, NoIterClass):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected