Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ test_dict_copy
Method
test_dict_copy
Lib/test/test_collections.py:71–74 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
69
self._copy_test(obj)
70
71
def
test_dict_copy(self):
72
obj = UserDict()
73
obj[123] =
"abc"
74
self._copy_test(obj)
75
76
def
test_dict_missing(self):
77
class
A(UserDict):
Callers
nothing calls this directly
Calls
2
_copy_test
Method · 0.95
UserDict
Class · 0.90
Tested by
no test coverage detected