mirror of
http://forgejo.openclaw.svc.cluster.local:3000/mrhavens/intellecton.git
synced 2026-06-18 01:22:57 +00:00
10 lines
271 B
Python
10 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
|