Files
zenml/venv/lib/python3.9/site-packages/matplotlib/tests/test_textpath.py
Christian Mantha 2ca0b9ef7c star
2026-03-02 19:10:52 -05:00

11 lines
271 B
Python

import copy
from matplotlib.textpath import TextPath
def test_copy():
tp = TextPath((0, 0), ".")
assert copy.deepcopy(tp).vertices is not tp.vertices
assert (copy.deepcopy(tp).vertices == tp.vertices).all()
assert copy.copy(tp).vertices is tp.vertices