An unnecessary ``numpy`` import inside :func:`pytest.approx` was removed.