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

Method test_groupby

Lib/test/test_itertools.py:2056–2058  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2054 self.makecycle(dropwhile(bool, [0, a, a]), a)
2055
2056 def test_groupby(self):
2057 a = []
2058 self.makecycle(groupby([a]*2, lambda x:x), a)
2059
2060 def test_issue2246(self):
2061 # Issue 2246 -- the _grouper iterator was not included in GC

Callers

nothing calls this directly

Calls 1

makecycleMethod · 0.95

Tested by

no test coverage detected