Add CHANGELOG entry for #4643
This commit is contained in:
parent
42bb0b3904
commit
6504746652
|
@ -0,0 +1,3 @@
|
||||||
|
Use ``a.item()`` instead of the deprecated ``np.asscalar(a)`` in ``pytest.approx``.
|
||||||
|
|
||||||
|
``np.asscalar`` has been `deprecated <https://github.com/numpy/numpy/blob/master/doc/release/1.16.0-notes.rst#new-deprecations>`__ in ``numpy 1.16.``.
|
Loading…
Reference in New Issue