TST: remove a call to a numpy function that is too new to use