diff --git a/changelog/4643.trivial.rst b/changelog/4643.trivial.rst new file mode 100644 index 000000000..75385f4b3 --- /dev/null +++ b/changelog/4643.trivial.rst @@ -0,0 +1,3 @@ +Use ``a.item()`` instead of the deprecated ``np.asscalar(a)`` in ``pytest.approx``. + +``np.asscalar`` has been `deprecated `__ in ``numpy 1.16.``.