Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ check_100
Method
check_100
Lib/test/test_class.py:936–938 ·
view source on GitHub ↗
(self, obj)
Source
from the content-addressed store, hash-verified
934
setattr(obj, f
"a{i}"
, i)
935
936
def
check_100(self, obj):
937
for
i in range(100):
938
self.assertEqual(getattr(obj, f
"a{i}"
), i)
939
940
def
test_many_attributes(self):
941
class
C:
pass
Callers
2
test_many_attributes
Method · 0.95
test_many_attributes_with_dict
Method · 0.95
Calls
1
assertEqual
Method · 0.45
Tested by
no test coverage detected