MAINT: replace np.isinf(x) & (x>0) -> np.isposinf(x) to avoid RuntimeWarning
Merge pull request #3381 from argriffing/testutils-signed-inf

MAINT: replace np.isinf(x) & (x>0) -> np.isposinf(x) to avoid RuntimeWarning