test_can_almost_always_merge_numeric_schemas(
data=data(...),
s1={"type": "integer", "multipleOf": 0.0009765625000000002},
s2={"type": "number"},
)
combined={'multipleOf': 0.0009765625000000002, 'type': 'integer'}
Draw 1 (combined): 0.0
Draw 2 (s1): 0.0
Draw 3 (s2): 1.7555597020139808e+305
@reproduce_failure('5.36.1', b'AXicY2BgYGKAAEYGBNifABUCAAooASQ=')
Traceback (most recent call last):
File "hypofuzz/src/hypofuzz/hy.py", line 235, in _run_test_on
self.__test_fn(*args, **kwargs)
File "hypothesis-jsonschema/tests/test_canonicalise.py", line 484, in test_can_almost_always_merge_numeric_schemas
_merge_semantics_helper(data, s1, s2, combined)
File "hypothesis-jsonschema/tests/test_canonicalise.py", line 452, in _merge_semantics_helper
assert is_valid(i2, s1) == is_valid(i2, combined)
File "hypothesis-jsonschema/tests/test_canonicalise.py", line 23, in is_valid
return make_validator(schema).is_valid(instance)
File "jsonschema/validators.py", line 362, in is_valid
error = next(self.iter_errors(instance, _schema), None)
File "jsonschema/validators.py", line 328, in iter_errors
for error in errors:
File "jsonschema/_validators.py", line 170, in multipleOf
failed = int(quotient) != quotient
OverflowError: cannot convert float infinity to integer