summaryrefslogtreecommitdiff
path: root/numpy/array_api/tests/test_indexing_functions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2020-07-20 12:05:24 -0500
committerSebastian Berg <sebastian@sipsolutions.net>2020-07-20 12:06:57 -0500
commita44e6719eea572a785851306c9d41ae0199cfa70 (patch)
treeea4ca869e8cf94d5fa5ccdb1a38178101405b8da /numpy/array_api/tests/test_indexing_functions.py
parent6ef5ec39cdfaf77aa4600ec2e3bf9f679a4fd527 (diff)
downloadnumpy-a44e6719eea572a785851306c9d41ae0199cfa70.tar.gz
BUG: Fix string/bytes to complex assignment
This was a regression, which happened because of discrepencies between setting a single item from a string (which was not possible) and casting from a string to array (which was possible before). The seconnd code path changed, relying on the former behaviour, which broke it. This fixes the issue by bringing the second branch in line. Closes gh-16909
Diffstat (limited to 'numpy/array_api/tests/test_indexing_functions.py')
0 files changed, 0 insertions, 0 deletions