TST: Use external_error_raised for numpy-raised test_error_invalid_values
Looks like numpy extended an error message that is failing `test_error_invalid_values` e.g https://github.com/pandas-dev/pandas/actions/runs/15331067593/job/43137707952
Merging to fix the failure on main