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():
361361 path2_copy = path2 .deepcopy ()
362362 assert path1 is not path1_copy
363363 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 )
365365 assert path1 .readonly
366366 assert not path1_copy .readonly
367367 assert path2 is not path2_copy
368368 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 )
370370 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 )
372372 assert path2 .readonly
373373 assert not path2_copy .readonly
374374
You can’t perform that action at this time.
0 commit comments