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

Skip to content

Commit 031f15f

Browse files
authored
Merge pull request #10978 from QuLogic/np-pytest
Remove to-be-deprecated NumPy imports.
2 parents ad53f46 + 72c097f commit 031f15f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/matplotlib/tests/test_cbook.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
from datetime import datetime
1010

1111
import numpy as np
12-
from numpy.testing.utils import (assert_array_equal, assert_approx_equal,
13-
assert_array_almost_equal)
12+
from numpy.testing import (assert_array_equal, assert_approx_equal,
13+
assert_array_almost_equal)
1414
import pytest
1515

1616
import matplotlib.cbook as cbook

lib/matplotlib/tests/test_colors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import numpy as np
77
import pytest
88

9-
from numpy.testing.utils import assert_array_equal, assert_array_almost_equal
9+
from numpy.testing import assert_array_equal, assert_array_almost_equal
1010

1111
from matplotlib import cycler
1212
import matplotlib

0 commit comments

Comments
 (0)