Don't fail when np.intc != np.int32
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)
commit53941f7651c3b2816a98e85546c31a6bad9d7063
treef1f174db754d38ece2d0e13381854114ce5831d2
parent9d81dbb5ccc303320fcc75da5b9ba2f59229efa9
Don't fail when np.intc != np.int32

np.intc (C int), np.int_ (C long) and np.longlong (C long long)
are always distinct type objects, but only two of them are
actually different sizes; np.int32 and np.int64 are aliases
https://sources.debian.org/src/numpy/1:1.18.4-1/numpy/core/_type_aliases.py/#L110

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug: https://github.com/pandas-dev/pandas/issues/31856
Forwarded: not-needed https://github.com/pandas-dev/pandas/pull/33729/commits/16600575b4a19ceb7ceabbec6992e932e797e109

Gbp-Pq: Name test_promote_32bit.patch
pandas/tests/dtypes/cast/test_promote.py