Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ test_count
Method
test_count
Lib/test/test_itertools.py:1995–1998 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1993
self.makecycle(compress(
'ABCDEF'
, [1,0,1,0,1,0]), a)
1994
1995
def
test_count(self):
1996
a = []
1997
Int = type(
'Int'
, (int,), dict(x=a))
1998
self.makecycle(count(Int(0), Int(1)), a)
1999
2000
def
test_cycle(self):
2001
a = []
Callers
nothing calls this directly
Calls
3
makecycle
Method · 0.95
count
Function · 0.85
Int
Class · 0.70
Tested by
no test coverage detected