MCPcopy Create free account
hub / github.com/RustPython/RustPython / test_groupby

Method test_groupby

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

Source from the content-addressed store, hash-verified

2006 self.makecycle(dropwhile(bool, [0, a, a]), a)
2007
2008 def test_groupby(self):
2009 a = []
2010 self.makecycle(groupby([a]*2, lambda x:x), a)
2011
2012 def test_issue2246(self):
2013 # 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