Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eb8ada2

Browse files
committed
TST: deepcopy should return the same type
1 parent 7c152aa commit eb8ada2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/tests/test_textpath.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def test_deepcopy():
1818
# Should not raise any error
1919
path = TextPath((0, 0), ".")
2020
path_copy = deepcopy(path)
21+
assert isinstance(path_copy, TextPath)
2122
assert path is not path_copy
2223
assert path.vertices is not path_copy.vertices
2324
assert path.codes is not path_copy.codes

0 commit comments

Comments
 (0)