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

Method test_bug_117750

Lib/test/test_class.py:959–968  ·  view source on GitHub ↗

Aborted on 3.13a6

(self)

Source from the content-addressed store, hash-verified

957 self.check_100(c)
958
959 def test_bug_117750(self):
960 "Aborted on 3.13a6"
961 class C:
962 def __init__(self):
963 self.__dict__.clear()
964
965 obj = C()
966 self.assertEqual(obj.__dict__, {})
967 obj.foo = None # Aborted here
968 self.assertEqual(obj.__dict__, {"foo":None})
969
970 def test_store_attr_deleted_dict(self):
971 class Foo:

Callers

nothing calls this directly

Calls 2

CClass · 0.70
assertEqualMethod · 0.45

Tested by

no test coverage detected