- Notifications
You must be signed in to change notification settings - Fork 46
Closed
Description
__________________________________ test_solve __________________________________ @pytest.mark.xp_extension('linalg') > @given(*solve_args()) array_api_tests/test_linalg.py:616: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'ListStrategy' object has no attribute 'element_strategy'") raised in repr()] ListStrategy object at 0x7eff05717450> elements = builds(complex, FloatStrategy(min_value=-1.8446742974197924e+19, max_value=1.8446742974197924e+19, allow_nan=False, sm...9, max_value=1.8446742974197924e+19, allow_nan=False, smallest_nonzero_magnitude=1.1754943508222875e-38).map(downcast)) min_size = 8325, max_size = 8325 def __init__(self, elements, min_size=0, max_size=float("inf")): super().__init__() self.min_size = min_size or 0 self.max_size = max_size if max_size is not None else float("inf") assert 0 <= self.min_size <= self.max_size if min_size > BUFFER_SIZE: > raise InvalidArgument( f"min_size={min_size:_d} is larger than Hypothesis is designed to handle" ) E hypothesis.errors.InvalidArgument: min_size=8_325 is larger than Hypothesis is designed to handle E while generating 'x2' from one_of(floating_dtypes(), complex_dtypes()).flatmap(lambda d: arrays(d, *args, elements=elements, **kwargs)) E E You can reproduce this example by temporarily adding @reproduce_failure('6.98.13', b'AXicU2VlYGBkZEAHjCCoCwAFRABd') as a decorator on your test case /opt/hostedtoolcache/Python/3.11.8/x64/lib/python3.11/site-packages/hypothesis/strategies/_internal/collections.py:147: InvalidArgument I'm not completely clear from the information given what the issue is. I don't see any issues with the arrays generated for test_solve https://github.com/data-apis/array-api-tests/blob/master/array_api_tests/test_linalg.py#L592, nor have I seen this error before.
Metadata
Metadata
Assignees
Labels
No labels