Skip to content

Commit bffb1c0

Browse files
committed
fix pytest validator min/max values test
1 parent b992c9f commit bffb1c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: _plotly_utils/tests/validators/test_integer_validator.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def test_rejection_min(val, validator_min: IntegerValidator):
7979
with pytest.raises(ValueError) as validation_failure:
8080
validator_min.validate_coerce(val)
8181

82-
assert 'in the interval [-1, 2147483647]' in str(validation_failure.value)
82+
assert 'in the interval [-1, 9223372036854775807]' in str(validation_failure.value)
8383

8484

8585
# ### With max only ###
@@ -96,7 +96,7 @@ def test_rejection_max(val, validator_max: IntegerValidator):
9696
with pytest.raises(ValueError) as validation_failure:
9797
validator_max.validate_coerce(val)
9898

99-
assert 'in the interval [-2147483648, 2]' in str(validation_failure.value)
99+
assert 'in the interval [-9223372036854775808, 2]' in str(validation_failure.value)
100100

101101

102102
# Array ok

0 commit comments

Comments
 (0)