TST: Fix bare pytest raises in generic/test_frame.py
- [x] refers https://github.com/pandas-dev/pandas/issues/30999
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

Adds match arguments to pytest.raises calls in pandas/tests/generic/test_frame.py
