summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2020-08-25 18:45:00 -0500
committerSebastian Berg <sebastian@sipsolutions.net>2020-08-25 18:45:00 -0500
commit9f29c08a5fcc097cd157be7be82f7114da60e23b (patch)
treeaa4124604b2eb705c6d553d8c53573983935741a /numpy/lib/function_base.py
parent97d2db483fc0ffd46f38d0e1c39d5fc001e33197 (diff)
downloadnumpy-9f29c08a5fcc097cd157be7be82f7114da60e23b.tar.gz
BUG: Remove Void special case for "safe casting"
There were some (dubious) special cases for "safe casting" which was only available on the C-side (np.can_cast does not hit this code). These special cases are almost only active for user dtypes and seem generally incorrect and unnecessary. Without this change, the test will fail due to promoting rational to the void dtype (whichever that is).
Diffstat (limited to 'numpy/lib/function_base.py')
0 files changed, 0 insertions, 0 deletions