MCPcopy
hub / github.com/pallets/werkzeug / Foo

Class Foo

tests/test_local.py:433–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431
432def test_proxy_copy():
433 class Foo:
434 def __copy__(self):
435 return self
436
437 def __deepcopy__(self, memo):
438 return self
439
440 ns, p = _make_proxy(Foo())
441 assert copy.copy(p) is ns.value

Callers 1

test_proxy_copyFunction · 0.70

Calls

no outgoing calls

Tested by 1

test_proxy_copyFunction · 0.56