diff options
author | Sebastian Berg <sebastianb@nvidia.com> | 2022-10-27 16:22:22 +0200 |
---|---|---|
committer | Sebastian Berg <sebastianb@nvidia.com> | 2022-10-27 16:22:22 +0200 |
commit | 64b2d5ad3b6624d84c7ef99d349b8f7e3b1ab0af (patch) | |
tree | 7578e319f6f1b8a549d9e3bf4cd06bae0f43a63a /numpy/array_api/tests/test_asarray.py | |
parent | 1c64f9b7d08520b78bba282180bfc59ad2d6a89e (diff) | |
download | numpy-64b2d5ad3b6624d84c7ef99d349b8f7e3b1ab0af.tar.gz |
BUG: Fix `_resolve_dtypes_and_context` refcounting error returns
Reusing `result` doesn't work with a single "finish" goto, since
result must be NULL on error then.
This copies the result over for continuation, which is maybe also a bit
awkward, but at least not buggy...
Diffstat (limited to 'numpy/array_api/tests/test_asarray.py')
0 files changed, 0 insertions, 0 deletions