MCPcopy Index your code
hub / github.com/python/cpython / test_precomputed

Method test_precomputed

Lib/test/test_bisect.py:116–119  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

114 ]
115
116 def test_precomputed(self):
117 for func, data, elem, expected in self.precomputedCases:
118 self.assertEqual(func(data, elem), expected)
119 self.assertEqual(func(UserList(data), elem), expected)
120
121 def test_negative_lo(self):
122 # Issue 3301

Callers

nothing calls this directly

Calls 3

UserListClass · 0.90
funcFunction · 0.70
assertEqualMethod · 0.45

Tested by

no test coverage detected