MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_copy

Function test_copy

lib/matplotlib/tests/test_textpath.py:6–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5
6def test_copy():
7 tp = TextPath((0, 0), ".")
8 assert copy.deepcopy(tp).vertices is not tp.vertices
9 assert (copy.deepcopy(tp).vertices == tp.vertices).all()
10 assert copy.copy(tp).vertices is tp.vertices

Callers

nothing calls this directly

Calls 3

TextPathClass · 0.90
deepcopyMethod · 0.80
copyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…