Skip to content

Commit

Permalink
Remove reference to deprecated numpy error class in tests (#3685)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaskom authored Apr 25, 2024
1 parent ae7acf0 commit 58f170f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/test_distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 58f170f

Please sign in to comment.