Fix test failures with numpy 1.19
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)
commit7ad4765905ffdb170c0c25e76cb29f3adbfd097c
tree6413f5b6b8bbc0fc7cc630f737a965e6b252860b
parent7ab36c39a456446ffe59127a2a9183e3c9bae44b
Fix test failures with numpy 1.19

Remove use of no-longer-existing constant
(and replace by its value on Python 3)
Don't pass dtype to np.datetime64
Ignore deprecations and error message rewordings

Author: jbrockmendel, Ali McMaster, Rebecca N. Palmer <rebecca_palmer@zoho.com>
Origin: partly upstream
Bug-Debian: https://bugs.debian.org/963817
Forwarded: not-needed

Gbp-Pq: Name numpy119_compat2.patch
pandas/_libs/src/ujson/python/objToJSON.c
pandas/tests/dtypes/test_dtypes.py
pandas/tests/frame/test_convert_to.py
pandas/tests/indexes/multi/test_analytics.py
pandas/tests/indexes/period/test_indexing.py
pandas/tests/io/test_packers.py
pandas/tests/scalar/timedelta/test_arithmetic.py
pandas/tests/scalar/timestamp/test_timestamp.py
pandas/tests/series/indexing/test_indexing.py
pandas/tests/sparse/series/test_series.py
pandas/util/testing.py