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

Method test_sublclassing_managed_dict

Lib/test/test_capi/test_misc.py:552–559  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

550 del a, b
551
552 def test_sublclassing_managed_dict(self):
553
554 class C(_testcapi.HeapCTypeWithManagedDict):
555 pass
556
557 i = C()
558 i.spam = i
559 del i
560
561 def test_heaptype_with_negative_dict(self):
562 inst = _testcapi.HeapCTypeWithNegativeDict()

Callers

nothing calls this directly

Calls 1

CClass · 0.70

Tested by

no test coverage detected