BLD: silence npy_no_deprecated warnings with numpy>=1.16.0
State: closed

- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry


Labels:
name: Build
description: Library building on various platforms

Comments:
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/24864?src=pr&el=h1) Report
> Merging [#24864](https://codecov.io/gh/pandas-dev/pandas/pull/24864?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/6d918f07240275272999784e775b3952aeb2ecfb?src=pr&el=desc) will **increase** coverage by `<.01%`.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/24864/graphs/tree.svg?width=650&token=eZ4WkYLtcO&height=150&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/24864?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master   #24864      +/-   ##
==========================================
+ Coverage   92.38%   92.39%   +<.01%     
==========================================
  Files         166      166              
  Lines       52412    52412              
==========================================
+ Hits        48423    48424       +1     
+ Misses       3989     3988       -1
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.81% <ø> (ø)` | :arrow_up: |
| #single | `42.89% <ø> (-0.01%)` | :arrow_down: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/24864?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/util/testing.py](https://codecov.io/gh/pandas-dev/pandas/pull/24864/diff?src=pr&el=tree#diff-cGFuZGFzL3V0aWwvdGVzdGluZy5weQ==) | `88.13% <0%> (+0.09%)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/24864?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/24864?src=pr&el=footer). Last update [6d918f0...599e88d](https://codecov.io/gh/pandas-dev/pandas/pull/24864?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/24864?src=pr&el=h1) Report
> Merging [#24864](https://codecov.io/gh/pandas-dev/pandas/pull/24864?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/6d918f07240275272999784e775b3952aeb2ecfb?src=pr&el=desc) will **not change** coverage.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/24864/graphs/tree.svg?width=650&token=eZ4WkYLtcO&height=150&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/24864?src=pr&el=tree)

```diff
@@           Coverage Diff           @@
##           master   #24864   +/-   ##
=======================================
  Coverage   92.38%   92.38%           
=======================================
  Files         166      166           
  Lines       52412    52412           
=======================================
  Hits        48423    48423           
  Misses       3989     3989
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.81% <ø> (ø)` | :arrow_up: |
| #single | `42.89% <ø> (ø)` | :arrow_up: |


------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/24864?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/24864?src=pr&el=footer). Last update [6d918f0...00e5381](https://codecov.io/gh/pandas-dev/pandas/pull/24864?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

Out of curiosity, what is the motivation for silencing these warnings?
> Out of curiosity, what is the motivation for silencing these warnings?

These are warnings we can't do anything about; they are an artifact of cython+numpy interaction.  Since they are just noise in the build log, they make it harder to spot warnings that we can/should do something about.
does this have any effect for < 1.16?
> does this have any effect for < 1.16?

Not that I know of.
thanks