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

Method binary_subscr_list_int

Lib/test/test_opcache.py:1800–1804  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1798 @requires_specialization
1799 def test_binary_subscr(self):
1800 def binary_subscr_list_int():
1801 for _ in range(_testinternalcapi.SPECIALIZATION_THRESHOLD):
1802 a = [1, 2, 3]
1803 for idx, expected in enumerate(a):
1804 self.assertEqual(a[idx], expected)
1805
1806 binary_subscr_list_int()
1807 self.assert_specialized(binary_subscr_list_int,

Callers

nothing calls this directly

Calls 2

enumerateFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected