summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2020-08-25 18:19:33 -0500
committerSebastian Berg <sebastian@sipsolutions.net>2020-08-28 18:39:39 -0500
commitdf85fb95cfece479ec06357c01753c0c0b670317 (patch)
tree2e95a8628138ce230da01ffe42799cab9a86e779 /numpy/core/fromnumeric.py
parent53ea3a9dd802c13dc6930504d4a896bba8287cb0 (diff)
downloadnumpy-df85fb95cfece479ec06357c01753c0c0b670317.tar.gz
TST: Add tests mapping out the rules for metadata in promotion
Note that these rules do not actually make much sense often. They depend on a lot of suble branches, which probably grew over time without much regard for metadata. The test is ugly, but maps them out to detect changes in behaviour. At some point, we should probably define how metadata and promotion works. Such as always merging dicts, always drop if the original dtype is lost? That assumes that metadata can be a useful concept which makes sense to "inherit" during promotion. Its also plausible that we should just always strip metadata during promotion.
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions