TST: Test that FutureWarning is not raised by nansum if not all-nan.