Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ test_copy
Method
test_copy
test/ext/test_mutable.py:500–503 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
498
eq_(f1.non_mutable_data, {
"a"
:
"b"
})
499
500
def
test_copy(self):
501
f1 = Foo(data={
"a"
:
"b"
})
502
f1.data = copy.copy(f1.data)
503
eq_(f1.data, {
"a"
:
"b"
})
504
505
def
test_deepcopy(self):
506
f1 = Foo(data={
"a"
:
"b"
})
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