8000 Merge pull request #4189 from OceanWolf/numpy-fix · matplotlib/matplotlib@6387fca · GitHub
[go: up one dir, main page]

Skip to content

Commit 6387fca

Browse files
committed
Merge pull request #4189 from OceanWolf/numpy-fix
BUG : Fix triangulation test for numpy1.6
1 parent 2077a46 commit 6387fca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_triangulation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ def test_trirefiner_fortran_contiguous_triangles():
968968
triangles1 = np.array([[2, 0, 3], [2, 1, 0]])
969969
assert_false(np.isfortran(triangles1))
970970

971-
triangles2 = np.copy(triangles1, order='F')
971+
triangles2 = np.array(triangles1, copy=True, order='F')
972972
assert_true(np.isfortran(triangles2))
973973

974974
x = np.array([0.39, 0.59, 0.43, 0.32])

0 commit comments

Comments
 (0)
0