Initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
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
|
||||
Reference in New Issue
Block a user