Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ test_copy_weakref
Method
test_copy_weakref
Lib/test/test_copy.py:849–850 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
847
self.assertIs(y, x)
848
849
def
test_copy_weakref(self):
850
self._check_weakref(copy.copy)
851
852
def
test_deepcopy_weakref(self):
853
self._check_weakref(copy.deepcopy)
Callers
nothing calls this directly
Calls
1
_check_weakref
Method · 0.95
Tested by
no test coverage detected