Skip to content

Commit 6504746

Browse files
committed
Add CHANGELOG entry for #4643
1 parent 42bb0b3 commit 6504746

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

changelog/4643.trivial.rst

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Use ``a.item()`` instead of the deprecated ``np.asscalar(a)`` in ``pytest.approx``.
2+
3+
``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.``.

0 commit comments

Comments
 (0)