TST: skip tests in test_nanops.py on older scipy (related GH7427)