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

Method test_many_attributes_with_dict

Lib/test/test_class.py:950–957  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

948 self.assertTrue(has_inline_values(c))
949
950 def test_many_attributes_with_dict(self):
951 class C: pass
952 c = C()
953 d = c.__dict__
954 self.assertTrue(has_inline_values(c))
955 self.set_100(c)
956 self.assertFalse(has_inline_values(c))
957 self.check_100(c)
958
959 def test_bug_117750(self):
960 "Aborted on 3.13a6"

Callers

nothing calls this directly

Calls 5

set_100Method · 0.95
check_100Method · 0.95
assertTrueMethod · 0.80
assertFalseMethod · 0.80
CClass · 0.70

Tested by

no test coverage detected