From 58f170fe799ef496adae19925d7d4f0f14f8da95 Mon Sep 17 00:00:00 2001 From: Michael Waskom Date: Thu, 25 Apr 2024 07:02:02 -0400 Subject: [PATCH] Remove reference to deprecated numpy error class in tests (#3685) --- tests/test_distributions.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/test_distributions.py b/tests/test_distributions.py index 0df1a15beb..fd2f333fbc 100644 --- a/tests/test_distributions.py +++ b/tests/test_distributions.py @@ -1038,9 +1038,6 @@ def test_bandwidth(self, rng): def test_weights(self, rng): - import warnings - warnings.simplefilter("error", np.VisibleDeprecationWarning) - n = 100 x, y = rng.multivariate_normal([1, 3], [(.2, .5), (.5, 2)], n).T hue = np.repeat([0, 1], n // 2)