MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_copy

Method test_copy

test/ext/test_mutable.py:793–796  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

791 eq_(f1.data[0], 3)
792
793 def test_copy(self):
794 f1 = Foo(data=[1, 2])
795 f1.data = copy.copy(f1.data)
796 eq_(f1.data, [1, 2])
797
798 def test_deepcopy(self):
799 f1 = Foo(data=[1, 2])

Callers

nothing calls this directly

Calls 3

eq_Function · 0.90
FooClass · 0.70
copyMethod · 0.45

Tested by

no test coverage detected