Skip to content

Commit e6e70fd

Browse files
authored
Merge pull request #4228 from bartbroere/fix-np-aliased-int
np.int is a deprecated copy of the built-in int
2 parents a255c63 + d0ee161 commit e6e70fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/python/plotly/_plotly_utils/tests/validators/test_integer_validator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def test_acceptance_min(val, validator_min):
7474
assert validator_min.validate_coerce(val) == approx(val)
7575

7676

77-
@pytest.mark.parametrize("val", [-2, -123, np.iinfo(np.int).min])
77+
@pytest.mark.parametrize("val", [-2, -123, np.iinfo(int).min])
7878
def test_rejection_min(val, validator_min):
7979
with pytest.raises(ValueError) as validation_failure:
8080
validator_min.validate_coerce(val)

0 commit comments

Comments
 (0)