Skip to content

Commit 58f170f

Browse files
authored
Remove reference to deprecated numpy error class in tests (#3685)
1 parent ae7acf0 commit 58f170f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/test_distributions.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,9 +1038,6 @@ def test_bandwidth(self, rng):
10381038

10391039
def test_weights(self, rng):
10401040

1041-
import warnings
1042-
warnings.simplefilter("error", np.VisibleDeprecationWarning)
1043-
10441041
n = 100
10451042
x, y = rng.multivariate_normal([1, 3], [(.2, .5), (.5, 2)], n).T
10461043
hue = np.repeat([0, 1], n // 2)

0 commit comments

Comments
 (0)