-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
From https://github.com/cubed-dev/cubed/actions/runs/16335950344/job/46148038300:
FAILED array_api_tests/test_creation_functions.py::test_asarray_arrays - TypeError: 'Array' object does not support item assignment
Falsifying example: test_asarray_arrays(
shape=(), # or any other generated value
dtypes=OnewayPromotableDtypes(input_dtype=<class 'numpy.uint8'>, result_dtype=<class 'numpy.uint8'>), # or any other generated value
data=data(...),
)
Draw 1 (x): cubed.Array<array-3216, shape=(), dtype=uint8, chunks=()>
Draw 2 (kw): {'copy': False}
Draw 3 (mutating idx): ()
Draw 4 (mutating value): 0
Explanation:
These lines were always and only run by failing examples:
/home/runner/work/cubed/cubed/array-api-tests/array_api_tests/dtype_helpers.py:184
/home/runner/work/cubed/cubed/array-api-tests/array_api_tests/test_creation_functions.py:287
/home/runner/work/cubed/cubed/array-api-tests/array_api_tests/test_creation_functions.py:289
/home/runner/work/cubed/cubed/array-api-tests/array_api_tests/test_creation_functions.py:290
/home/runner/work/cubed/cubed/array-api-tests/array_api_tests/test_creation_functions.py:291
(and 11 more with settings.verbosity >= verbose)
You can reproduce this example by temporarily adding @reproduce_failure('6.135.32', b'AABBAUEBAAABQQEAAEEAQQA=') as a decorator on your test case