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

Method test_cycle

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

Source from the content-addressed store, hash-verified

1998 self.makecycle(count(Int(0), Int(1)), a)
1999
2000 def test_cycle(self):
2001 a = []
2002 self.makecycle(cycle([a]*2), a)
2003
2004 def test_dropwhile(self):
2005 a = []

Callers

nothing calls this directly

Calls 1

makecycleMethod · 0.95

Tested by

no test coverage detected