File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -361,14 +361,14 @@ def test_path_deepcopy():
361
361
path2_copy = path2 .deepcopy ()
362
362
assert path1 is not path1_copy
363
363
assert path1 .vertices is not path1_copy .vertices
364
- assert np . all (path1 .vertices == path1_copy .vertices )
364
+ assert_array_equal (path1 .vertices , path1_copy .vertices )
365
365
assert path1 .readonly
366
366
assert not path1_copy .readonly
367
367
assert path2 is not path2_copy
368
368
assert path2 .vertices is not path2_copy .vertices
369
- assert np . all (path2 .vertices == path2_copy .vertices )
369
+ assert_array_equal (path2 .vertices , path2_copy .vertices )
370
370
assert path2 .codes is not path2_copy .codes
371
- assert all (path2 .codes == path2_copy .codes )
371
+ assert_array_equal (path2 .codes , path2_copy .codes )
372
372
assert path2 .readonly
373
373
assert not path2_copy .readonly
374
374
You can’t perform that action at this time.
0 commit comments