Fix test failures with numpy 1.19
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +0100)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +0100)
commit2abb8d873176f04908d4b632186f5807e8e3493c
tree828fdebde68899d7ac178ecca8ce24cd27862118
parentfedc67e7c475dffbfd17aaea2715f1850cc3a127
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