Fix problem arising in ESMPy tests with numpy v1.7.