Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ test_copy
Method
test_copy
test/ext/test_mutable.py:1068–1071 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1066
eq_(f1.data, {1, 2, 3})
1067
1068
def
test_copy(self):
1069
f1 = Foo(data={1, 2})
1070
f1.data = copy.copy(f1.data)
1071
eq_(f1.data, {1, 2})
1072
1073
def
test_deepcopy(self):
1074
f1 = Foo(data={1, 2})
Callers
nothing calls this directly
Calls
3
eq_
Function · 0.90
Foo
Class · 0.70
copy
Method · 0.45
Tested by
no test coverage detected