MCPcopy Create free account
hub / github.com/python/cpython / test_list_getitem

Method test_list_getitem

Lib/test/test_capi/test_list.py:100–102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

98 # CRASHES getitem(NULL, 1)
99
100 def test_list_getitem(self):
101 # Test PyList_GetItem()
102 self.check_list_get_item(_testlimitedcapi.list_getitem, SystemError)
103
104 def test_list_get_item_ref(self):
105 # Test PyList_GetItemRef()

Callers

nothing calls this directly

Calls 1

check_list_get_itemMethod · 0.95

Tested by

no test coverage detected