Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ MyCounter
Class
MyCounter
IPython/lib/tests/test_pretty.py:355–356 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
353
354
def
test_collections_counter():
355
class
MyCounter(Counter):
356
pass
357
cases = [
358
(Counter(),
'Counter()'
),
359
(Counter(a=1),
"Counter({'a': 1})"
),
Callers
1
test_collections_counter
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_collections_counter
Function · 0.68