TST: Allow “no setter” messages from Python 3.11
Loosen “`can't set attribute`” expected messages to also allow messages of the form “`property … of … object has no setter`”, fixing several assertion failures in the tests on Python 3.11.

- [ ] closes #xxxx (Replace xxxx with the Github issue number) **This is a partial fix for https://github.com/pandas-dev/pandas/issues/46680, but does not close it.**
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature **This PR fixes tests.**
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions. **N/A**
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature. **N/A, only a partial bug fix**
Hello @musicinmybrain! Thanks for updating this PR. We checked the lines you've touched for [PEP 8](https://www.python.org/dev/peps/pep-0008) issues, and found:







There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers: 

##### Comment last updated at 2022-08-02 05:53:44 UTC @musicinmybrain 
Thanks for your contribution. There is currently another PR #47442 aimed at addressing #46680, and I think some of these messages have already been changed there. In the interest of keeping all 3.11 changes together, I think it would be better for you to comment any additional fixes you might have there. Thank you for the pointer! I see that the PR you linked already contains a somewhat nicer version of the changes suggested here.