MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_count

Method test_count

Lib/test/test_array.py:1779–1782  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

1777
1778 @support.bigmemtest(_2G, memuse=2.125)
1779 def test_count(self, size):
1780 example = self.example(size)
1781 self.assertEqual(example.count(0), size//8)
1782 self.assertEqual(example.count(11), 1)
1783
1784 @support.bigmemtest(_2G, memuse=2.125)
1785 def test_append(self, size):

Callers

nothing calls this directly

Calls 3

exampleMethod · 0.95
assertEqualMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected