MCPcopy 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
354def 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_counterFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_collections_counterFunction · 0.68