TST: insert 'match' to bare pytest raises in pandas/tests/test_flags.py
- [ ] ref https://github.com/pandas-dev/pandas/issues/30999
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

Hi can you add this label
hacktoberfest-accepted thanks @krajatcl 