added msg to TypeError test_to_boolean_array_error
- [x] ref #30999 
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

Fixed bare pytest.raises (#30999) for test_to_boolean_array_error in test_boolean.py 

Thanks @amy-graham-js 