def METHOD_NAME(self, aligned):
    a = self._get_array(2e300, aligned)
    with pytest.raises(TypeError,
            match="error raised inside the core-loop: non-finite factor!"):
        a.astype(SF(2e-300))